Changed how delete time slot functions
This commit is contained in:
		@@ -5,6 +5,7 @@ import discord							# Main Lib
 | 
			
		||||
from discord.ext import commands		# Commands module
 | 
			
		||||
from discord_slash import SlashCommand, SlashContext, cog_ext, utils			# Slash Command Library
 | 
			
		||||
from discord_slash.utils.manage_commands import create_choice, create_option	# Slash Command features
 | 
			
		||||
# import discord_components
 | 
			
		||||
import logging
 | 
			
		||||
# logger and handler
 | 
			
		||||
from bot import checkConfig, clearConfig, configFile, parseConfigCheck, setConfig, yaml_dump, yaml_load, loadCogs, unloadCogs
 | 
			
		||||
@@ -17,6 +18,8 @@ class on_ready(commands.Cog, name='On Ready Events'):
 | 
			
		||||
	@commands.Cog.listener()
 | 
			
		||||
	async def on_ready(self):
 | 
			
		||||
 | 
			
		||||
		# discord_components.DiscordComponents(self.client)
 | 
			
		||||
 | 
			
		||||
		#### Create any missing config entries for guilds
 | 
			
		||||
		for guild in self.client.guilds:
 | 
			
		||||
			setConfig(guild)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user