From 473a1d2f1d02210e11b3e174c26a7080a9de84f3 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 29 Jul 2020 12:53:42 +0100 Subject: [PATCH] Increased Readability --- settings.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 432c58d3..185b7b5c 100644 --- a/settings.py +++ b/settings.py @@ -3,9 +3,9 @@ import random from discord import Colour -# Defining a list of colours import db +# Defining a list of colours colors = { 'DEFAULT': 0x000000, 'WHITE': 0xFFFFFF, @@ -78,6 +78,8 @@ async def startup_cache_log(): cache_prefix(row[0], row[1]) +# --------------------------------------------!ModLogs Section!--------------------------------------------------------- + # Store guildID's and modlog channel within a cached dictionary modlogs = {} @@ -140,6 +142,9 @@ def get_modlog_for_guild(guildid): return channel +# --------------------------------------------!End ModLogs Section!----------------------------------------------------- + +# --------------------------------------------!Prefixes Section!-------------------------------------------------------- # Storing the prefixes and guildID's in the cache cached_prefixes = {} @@ -185,6 +190,9 @@ def get_prefix_for_guild(guildid): return "defaultPrefix" +# --------------------------------------------!End Prefixes Section!---------------------------------------------------- + +# --------------------------------------------!Cogs/Set Values Section!------------------------------------------------- # Define repeated variables hammyMention = '<@154840866496839680>' hammyID = 154840866496839680 @@ -215,3 +223,5 @@ def extensions(): # Run the async function to store everything in cache loop = asyncio.get_event_loop() loop.run_until_complete(startup_cache_log()) + +# --------------------------------------------!End Cogs/Set Values Section!---------------------------------------------