Browse Source

lil cleanups and warning in cogs.py

tags/v1.3.0
roxie 6 years ago
parent
commit
b8d031a038
3 changed files with 2 additions and 4 deletions
  1. +2
    -0
      config/cogs.py
  2. +0
    -2
      config/server_config.py
  3. +0
    -2
      main.py

+ 2
- 0
config/cogs.py View File

@@ -1,3 +1,5 @@
# IF YOU ARE TESTING OR NOT IN THE GSS DISCORD, REMOVE "cogs.gss" FROM THE LIST

cogs = [
"cogs.admin",
"cogs.fun",

+ 0
- 2
config/server_config.py View File

@@ -48,8 +48,6 @@ class ServerConfig():
}
}
self.servers = self.load_config()
# TODO: Move this to Checks
self.no_perms_reponse = ":no_entry_sign: You do not have permission to use this command."
self.delete_after = 20

def load_config(self):

+ 0
- 2
main.py View File

@@ -53,7 +53,6 @@ async def on_ready():
print(server)
print("")

# Testing Code
game = discord.Game(name="v{}".format(load_config.version), type=0)
await bot.change_presence(game=game)

@@ -74,7 +73,6 @@ async def on_server_remove(server):

@bot.event
async def on_message(message):
# TODO: Check for words for reactions
if blacklisted(message.author):
return
return await bot.process_commands(message)

Loading…
Cancel
Save