Skip to content

Commit 5fecee7

Browse files
authored
Merge branch 'main' into dev
2 parents 76c3cfb + 6f6e16c commit 5fecee7

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

bronxbot.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ async def before_update_guilds(self):
142142
await self.wait_until_ready()
143143

144144

145-
bot = BronxBot(command_prefix='.', intents=intents, shard_count=2, case_insensitive=True)
145+
bot = BronxBot(
146+
command_prefix='.',
147+
intents=intents,
148+
shard_count=2,
149+
case_insensitive=True,
150+
application_id=config["CLIENT_ID"] # <-- Add this line
151+
)
146152
bot.remove_command('help')
147153

148154
# loading config

config.example.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"MONGO_URI": "MONGO_URI",
66
"CLIENT_ID": "CLIENT_ID",
77
"CLIENT_SECRET": "CLIENT_SECRET",
8-
"OWNER_ID": "814226043924643880"
8+
"OWNER_ID": "814226043924643880",
9+
"lastfm_api_key": "LASTFM_API_KEY"
910
}

0 commit comments

Comments
 (0)