Update WIPBOT.py
This commit is contained in:
@@ -297,9 +297,11 @@ async def on_raw_reaction_remove(payload):
|
|||||||
):
|
):
|
||||||
await channel.send("🎉 Dungeon Encerrada! Parabéns <@Rixa>, felicidades 🎉")
|
await channel.send("🎉 Dungeon Encerrada! Parabéns <@Rixa>, felicidades 🎉")
|
||||||
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print(f"Bot ligado como {bot.user}")
|
print(f"Bot ligado como {bot.user}")
|
||||||
|
if os.getenv("RAILWAY_ENVIRONMENT") is None:
|
||||||
|
from dotenv import load_dotenv
|
||||||
|
load_dotenv()
|
||||||
bot.run(os.getenv("DISCORD_TOKEN"))
|
bot.run(os.getenv("DISCORD_TOKEN"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user