NameIsJACK commited on
Commit
414fd9d
·
verified ·
1 Parent(s): 0d207c7

Rename main.py to app.py

Browse files
Files changed (1) hide show
  1. main.py → app.py +4 -3
main.py → app.py RENAMED
@@ -7,10 +7,11 @@ import discord
7
  import aiohttp
8
  import io
9
  load_dotenv()
 
10
 
11
- WELCOME_IMAGE_API = os.getenv("WELCOME_IMAGE_API")
12
- WELCOME_CHANNEL_ID = int(os.getenv("WELCOME_CHANNEL_ID"))
13
- DISCORD_BOT_TOKEN = os.getenv("DISCORD_BOT_TOKEN")
14
 
15
 
16
  intents = discord.Intents.default()
 
7
  import aiohttp
8
  import io
9
  load_dotenv()
10
+ from config import settings
11
 
12
+ WELCOME_CHANNEL_ID = settings.WELCOME_CHANNEL_ID
13
+ WELCOME_IMAGE_API = settings.WELCOME_IMAGE_API
14
+ DISCORD_BOT_TOKEN = settings.DISCORD_BOT_TOKEN
15
 
16
 
17
  intents = discord.Intents.default()