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

# IF YOU ARE TESTING OR NOT IN THE GSS DISCORD, REMOVE "cogs.gss" FROM THE LIST

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

+ 0
- 2
config/server_config.py View File

} }
} }
self.servers = self.load_config() 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 self.delete_after = 20


def load_config(self): def load_config(self):

+ 0
- 2
main.py View File

print(server) print(server)
print("") print("")


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




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

Loading…
Cancel
Save