2024-05-29 16:57:55 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
###################
|
|
|
|
# Actions on user #
|
|
|
|
###################
|
|
|
|
|
|
|
|
class User(object):
|
2024-05-29 17:20:00 +00:00
|
|
|
"""
|
|
|
|
Describes Discord user
|
|
|
|
|
|
|
|
Attributes:
|
|
|
|
- user (int): Discord id
|
|
|
|
"""
|
2024-05-29 16:57:55 +00:00
|
|
|
|
|
|
|
def __init__(self, user_id: int) -> None:
|
2024-05-29 17:20:00 +00:00
|
|
|
"""
|
|
|
|
Init Discord user object
|
|
|
|
|
|
|
|
:param user_id: user discord id
|
|
|
|
"""
|
2024-05-29 16:57:55 +00:00
|
|
|
self.user = user_id
|
|
|
|
|
2024-05-29 17:20:00 +00:00
|
|
|
def move_to(self, channel_id: int) -> None: # ToDo
|
2024-05-29 16:57:55 +00:00
|
|
|
"""
|
|
|
|
Moves the user to the specified voice channel
|
|
|
|
|
|
|
|
:param channel_id: discord id of voice channel
|
|
|
|
"""
|
|
|
|
pass
|