import commands_scripts1 as comcs class Command: def __init__(self, caller, desc, script): self.caller = caller self.desc = desc self.script = script def help_print(self): return ('%s %s' % (self.caller, self.desc)) class Function: def __init__(self, caller, desc): self.caller = caller self.desc = desc def help_print(self): return ('%s %s' % (self.caller, self.desc)) function_list = {} function_list['sus'] = Function(' sus', ' --> Bot knows when something is sus\n') function_list['hello'] = Function(' greetings', ' --> Bot greets you back\n') function_list['counter'] = Function(' word counter', ' --> Bot counts how many times you have written certain words') command_list = {} command_list['~etime'] = Command('~etime', ' --> Command that will tell you epoch time\n', comcs.etime_event) command_list['~help'] = Command('~help', ' --> Command that will show you this list\n', comcs.help_string) command_list['~primenum'] = Command('~primenum', ' --> Bot will tell you if number is a prime number (number of six digits max.)\n', comcs.primenum_event) command_list['~scprove'] = Command('~scprove', ' --> Scientist will prove you anything: |*~scprove *|\n', comcs.scprove_event) command_list['~count'] = Command('~count', ' --> Ask for word count of users: |*~count *|\n\n', None) slova = ["nigga", "negr", "debil", "gay", "kokot", "ok", "kurva", "sus", "petr", "gej", "bruh", "bružek"]