Esempio n. 1
0
 def reload_error_cog_doesnt_exist(cog: str, userID: discord.Member):
     print(
         Global_Log.command_has_been_used('reload', userID), '\n\t',
         f'{log_format.FAIL} {cog} COG IS NOT RECOGNIZED THEREFORE RELOAD COMMAND FAILED TO EXECUTE.{log_format.END}'
     )
     return f'{dialogue_icon.fail}   Ohoh! Looks like the cog you specified **{cog}** does not exist.'
Esempio n. 2
0
 def reload_error_cog_is_unloaded(cog: str, userID: discord.Member):
     print(
         Global_Log.command_has_been_used('reload', userID), '\n\t',
         f'{log_format.FAIL} {cog} WAS NOT RELOADED DUE TO IT BEING UNLOADED.{log_format.END}'
     )
     return f'{dialogue_icon.fail}   Oops! You can\'t reload **{cog}** since it is unloaded!'
Esempio n. 3
0
 def load_error_cog_already_loaded(cog: str, userID: discord.Member):
     print(
         Global_Log.command_has_been_used('load', userID), '\n\t',
         f'{log_format.FAIL} {cog} WAS NOT LOADED DUE TO IT BEING ALREADY LOADED.{log_format.END}'
     )
     return f'{dialogue_icon.fail}   Oops! You can\'t load **{cog}** since it is already loaded!'
Esempio n. 4
0
 def load_command_success(cog: str, userID: discord.Member):
     print(Global_Log.command_has_been_used('load', userID), '\n',
           Global_Log.command_run_without_exception('load'))
     return f'{dialogue_icon.success}   You successfully loaded **{cog}**!'
Esempio n. 5
0
 def cl_command_success(userID: discord.Member):
     return print(Global_Log.command_has_been_used('coglist', userID), '\n',
                  Global_Log.command_run_without_exception('coglist'))