mirror of
https://github.com/ssyyhhrr/discord.py-bot.git
synced 2025-11-10 22:13:47 -05:00
Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user