Only run bot when running runner.py

pull/4/head
sgoudham 3 years ago
parent 70b6ce728f
commit b8a085c95d
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -12,4 +12,5 @@ async def charity(ctx: Context):
await ctx.send("!charity") await ctx.send("!charity")
bot.run(BOT_TOKEN) if __name__ == '__main__':
bot.run(BOT_TOKEN)

Loading…
Cancel
Save