Add the ability to PATCH discord nicknames and roles.
This commit is contained in:
parent
1add10bcb0
commit
37ecac009d
3 changed files with 64 additions and 2 deletions
|
|
@ -637,6 +637,9 @@ class DiscordBot(Bot):
|
|||
# send outputfunc channel(msg, discord channel)
|
||||
super().msg(channel=(strip_ansi(message.strip()), dc_chan))
|
||||
|
||||
def change_nickname(self, new_nickname, guild_id, user_id, **kwargs):
|
||||
super().msg(nickname=(new_nickname, guild_id, user_id))
|
||||
|
||||
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