MKE0108 commited on
Commit
7663fdb
·
1 Parent(s): 0f11644
Files changed (1) hide show
  1. bot_main.py +5 -4
bot_main.py CHANGED
@@ -2,10 +2,11 @@ import discord
2
  from discord.ext import commands
3
  from discord import app_commands
4
  import os
5
- from keys import init
6
- # if(os.path.isdir("keys")):
7
-
8
- init.set_env()
 
9
  intents = discord.Intents.default()
10
  intents.message_content = True
11
 
 
2
  from discord.ext import commands
3
  from discord import app_commands
4
  import os
5
+ try:
6
+ from keys import init
7
+ init.set_env()
8
+ except:
9
+ pass
10
  intents = discord.Intents.default()
11
  intents.message_content = True
12