Add outputfunc to add roles through the bot.
This commit is contained in:
parent
3532fffca4
commit
61083ed9b5
2 changed files with 24 additions and 2 deletions
|
|
@ -649,6 +649,10 @@ class DiscordBot(Bot):
|
|||
"""
|
||||
super().msg(nickname=(new_nickname, guild_id, user_id))
|
||||
|
||||
def assign_role(self, role_id, guild_id, user_id, **kwargs):
|
||||
|
||||
pass
|
||||
|
||||
def direct_msg(self, message, sender, **kwargs):
|
||||
"""
|
||||
Called when the Discord bot receives a direct message on Discord.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue