Add outputfunc to add roles through the bot.

This commit is contained in:
holl0wstar 2023-10-02 02:27:15 -03:00
parent 3532fffca4
commit 61083ed9b5
2 changed files with 24 additions and 2 deletions

View file

@ -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.