Added command prefix to config
This commit is contained in:
parent
9ed7008ada
commit
95956cc47c
2 changed files with 3 additions and 1 deletions
|
@ -10,4 +10,6 @@ database = "stonks.txt"
|
|||
mongodb_uri = "mongodb://localhost:27017"
|
||||
mongodb_database = "stonks"
|
||||
|
||||
command_prefix = "$"
|
||||
|
||||
api_key = "Your Discord API Key"
|
||||
|
|
2
main.py
2
main.py
|
@ -17,7 +17,7 @@ else:
|
|||
|
||||
intents = discord.Intents.default()
|
||||
|
||||
bot = commands.Bot(command_prefix="$", intents=intents)
|
||||
bot = commands.Bot(command_prefix=cfg.command_prefix, intents=intents)
|
||||
|
||||
|
||||
@bot.command()
|
||||
|
|
Loading…
Add table
Reference in a new issue