module documentation

Undocumented

Function automod Automatically moderates the message. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Function banUser Undocumented
Async Function bye Closes the bot :param bot: the bot :param message: the message to process :return: None
Function checkPermissions Undocumented
Function helpCommand Sends the help embed :param bot: the bot :param message: the message to process :param guildData: the data associated to the guild the message was sent in :param mots: the message's content split into words :return: None...
Function kickUser Kicks a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None
Function moderatesettings Manages the moderation settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None
Function moodCommand Displays the mood of a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Function moodroles Displays the mood roles status, or enables or disables them. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moods Displays the moods of all users. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Function moodsettings Displays or changes the mood settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodsettings_depth Changes the number of messages to consider when computing a mood. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodsettings_refreshmethod Changes the mood refresh method. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodsettings_refreshtime Changes the time between two mood refreshes. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodsettings_resettime Changes the time between two mood resets. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodsettings_threshold Changes the number of messages needed to compute a mood. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None
Function moodtraining Displays the mood training status, or enables or disables it for the user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None...
Function muteuser Mutes a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None
Function prefix Changes the prefix of the bot :param bot: the bot :param message: the message to process :param guildData: the data associated to the guild the message was sent in :param mots: the message's content split into words :return: None...
Async Function socialGraphCommand Displays the social graph of the user, or of the mentioned user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Async Function tldrCommand Summarizes a message. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Function tldrSettings Changes the tldr settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None
Function unbanUser Undocumented
Function unmuteUser Unmutes a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None
def automod(bot, message, guildData):

Automatically moderates the message. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

def banUser(bot, message, guildData, mots):

Undocumented

async def bye(bot, message):

Closes the bot :param bot: the bot :param message: the message to process :return: None

def checkPermissions(message, guildData):

Undocumented

def helpCommand(bot, message, guildData, mots):

Sends the help embed :param bot: the bot :param message: the message to process :param guildData: the data associated to the guild the message was sent in :param mots: the message's content split into words :return: None

def kickUser(bot, message, guildData, mots):

Kicks a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None

def moderatesettings(bot, message, guildData, mots):

Manages the moderation settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None

def moodCommand(bot, message, guildData):

Displays the mood of a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

def moodroles(bot, message, guildData, mots):

Displays the mood roles status, or enables or disables them. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moods(bot, message, guildData):

Displays the moods of all users. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

def moodsettings(bot, message, guildData, mots):

Displays or changes the mood settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodsettings_depth(bot, message, guildData, mots):

Changes the number of messages to consider when computing a mood. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodsettings_refreshmethod(bot, message, guildData, mots):

Changes the mood refresh method. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodsettings_refreshtime(bot, message, guildData, mots):

Changes the time between two mood refreshes. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodsettings_resettime(bot, message, guildData, mots):

Changes the time between two mood resets. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodsettings_threshold(bot, message, guildData, mots):

Changes the number of messages needed to compute a mood. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

def moodtraining(bot, message, guildData, mots):

Displays the mood training status, or enables or disables it for the user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The message's words. :return: None

@printExceptions
def muteuser(bot, message, guildData, mots):

Mutes a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None

def prefix(bot, message, guildData, mots):

Changes the prefix of the bot :param bot: the bot :param message: the message to process :param guildData: the data associated to the guild the message was sent in :param mots: the message's content split into words :return: None

async def socialGraphCommand(bot, message, guildData):

Displays the social graph of the user, or of the mentioned user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

Parameters
botUndocumented
message:discord.MessageUndocumented
guildDataUndocumented
async def tldrCommand(bot, message, guildData):

Summarizes a message. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

Parameters
botUndocumented
message:discord.MessageUndocumented
guildDataUndocumented
def tldrSettings(bot, message, guildData):

Changes the tldr settings. :param bot: The bot. :param message: The message. :param guildData: The guild data. :return: None

Parameters
botUndocumented
message:discord.MessageUndocumented
guildDataUndocumented
def unbanUser(bot, message, guildData, mots):

Undocumented

def unmuteUser(bot, message, guildData, mots):

Unmutes a user. :param bot: The bot. :param message: The message. :param guildData: The guild data. :param mots: The words of the message. :return: None