joytou commited on
Commit
84c21d9
·
1 Parent(s): 31478fd

Fixed: name 'bot' is not defined

Browse files
Files changed (1) hide show
  1. discord_bot.py +1 -1
discord_bot.py CHANGED
@@ -29,7 +29,7 @@ check_functions = {
29
  intents = discord.Intents.default()
30
  intents.message_content = True
31
  #bot = commands.Bot(command_prefix='>', intents=intents)
32
- tree = bot.tree
33
 
34
 
35
  with open("discord.json", "r") as f:
 
29
  intents = discord.Intents.default()
30
  intents.message_content = True
31
  #bot = commands.Bot(command_prefix='>', intents=intents)
32
+ #tree = bot.tree
33
 
34
 
35
  with open("discord.json", "r") as f: