Documentation.

This commit is contained in:
holl0wstar 2023-09-25 01:20:46 -03:00
parent a9b1417806
commit 911323b721

View file

@ -638,6 +638,15 @@ class DiscordBot(Bot):
super().msg(channel=(strip_ansi(message.strip()), dc_chan))
def change_nickname(self, new_nickname, guild_id, user_id, **kwargs):
"""
Changes a given user's nickname on the given guild the bot is in.
Args:
new_nickname (str) - The user's new nickname.
guild_id (int) - The guild the nickname will be changed in.
user_id (int) - The Discord ID of the user who's nickname will be changed.
"""
super().msg(nickname=(new_nickname, guild_id, user_id))
def direct_msg(self, message, sender, **kwargs):