Update main.py

This commit is contained in:
Rhys
2022-11-06 16:58:47 +00:00
committed by GitHub
parent 319acbcb73
commit 83430bc0a4

View File

@@ -13,7 +13,7 @@ TOKEN = os.getenv("DISCORD_TOKEN")
INTENTS = discord.Intents.default() INTENTS = discord.Intents.default()
INTENTS.members = True INTENTS.members = True
bot = commands.AutoShardedBot(command_prefix=commands.when_mentioned_or("!"), owner_id=518124039714242562, intents=INTENTS) bot = commands.AutoShardedBot(command_prefix=commands.when_mentioned_or("!"), owner_id=os.getenv("DISCORD_ID"), intents=INTENTS)
jackpotEmbed = None jackpotEmbed = None
participants = {} participants = {}
@@ -255,4 +255,4 @@ def setConfig():
def didWin(colour, select): def didWin(colour, select):
return (colour == 'red' and select == 0) or (colour == 'black' and select == 1) return (colour == 'red' and select == 0) or (colour == 'black' and select == 1)
bot.run(TOKEN) bot.run(TOKEN)