Exemplo n.º 1
0
 def __init__(self, my_bot):
     self.__settings = res.Settings()
     self.__settings.name = "Roles"
     self.__settings.descs = {"rave on":"Turns on flashing role colors for a given role://rave on \"some role\" red dark_blue\nColors: red,green,blue,white,orange,teal,gold,magenta,purple and dark versions",
                              "rave off":"Turns off flashing role colors for a given role and returns it to default.", "role color":"Set the color of a role given a hex value: //role color \"some role\" a1acbb"}
     self.__settings.open_ = True
     self.lis = {my_bot.pref + "rave on":self.rave, my_bot.pref + "rave off":self.rave_off, my_bot.pref + "role color":self.role_color}
Exemplo n.º 2
0
 def __init__(self, my_bot):
     self.__settings = res.Settings()
     self.__settings.name = "Utility"
     self.__settings.descs = {"time":"Tells you the time given a time zone(GMT) or not(UTC).", "calc":"Math SON!", "invite":"Generates an invite link", "help":"Basic info and list of commands",
                              "commands":"Tells you what a command does.", "formula set":"Sets a mathematical formula.", "formula show":"Shows the formula",
                              "formula map":"Maps the variables in the order (x,y,z)"}
     self.__settings.open_ = True
     self.lis = {my_bot.pref + "time":self.time, my_bot.pref + "calc":self.calculate, my_bot.pref + "invite":self.invite, my_bot.pref + "help":self.help, my_bot.pref + "commands":self.commands,
                 my_bot.pref + "formula set":self.set_formula, my_bot.pref + "formula show":self.show_formula, my_bot.pref + "formula map":self.map}
     self.formula = ""
Exemplo n.º 3
0
 def __init__(self, my_bot):
     self.__settings = res.Settings()
     self.__settings.name = "Owner"
     self.__settings.descs = {
         "announce":
         "None of your business m8.",
         "serverlist":
         "Big nose you got there.",
         "channel default":
         "Sets the channel for announcements: //channel default <id>"
     }
     self.__settings.open_ = True
     self.lis = {
         my_bot.pref + "announce": self.announce,
         my_bot.pref + "serverlist": self.serverlist,
         my_bot.pref + "channel default": self.channel_default
     }
Exemplo n.º 4
0
 def __init__(self, my_bot):
     self.__settings = res.Settings()
     self.__settings.name = "SmoothChat"
     self.__settings.descs = {
         "chat on":
         "Activates the shifting chat that sends new messages above ``preposts`` amount of post.",
         "chat off": "Deactivates the shifting chat.",
         "chat preposts": "Sets the ``preposts`` value."
     }
     self.__settings.open_ = True
     self.postignore = 0
     self.chat_on
     self.lis = {
         my_bot.pref + "chat on": self.chat_on,
         my_bot.pref + "chat off": self.chat_off,
         my_bot.pref + "chat preposts": self.chat_preposts
     }
Exemplo n.º 5
0
 def __init__(self, my_bot):
     self.__settings = res.Settings()
     self.__settings.name = "Entertainment"
     self.__settings.descs = {"blob":"Bliss or Burn! which will it be?: //blob your mom", "react":"Reacts to message with your content in emojis."}
     self.__settings.open_ = True
     self.lis = {my_bot.pref + "blob":self.BloB, my_bot.pref + "react":self.react}