mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
chore(main.py): remove redundant bot.run() call at the top of the file
feat(main.py): add newline at the end of the file for consistency chore(functionscalls.py): remove extra blank lines feat(functionscalls.py): add unsplash_random_image_url constant for generating random image URLs feat(functionscalls.py): add add_reaction_to_last_message() function for adding reactions to the last message
This commit is contained in:
5
main.py
5
main.py
@@ -14,8 +14,6 @@ bot.add_cog(cogs.Chat(bot))
|
||||
bot.add_cog(cogs.ManageChat(bot))
|
||||
bot.add_cog(cogs.Moderation(bot))
|
||||
|
||||
bot.run(discord_token) # run the bot
|
||||
|
||||
|
||||
# set the bot's watching status to watcing your messages to answer you
|
||||
@bot.event
|
||||
@@ -32,3 +30,6 @@ async def on_ready():
|
||||
async def on_application_command_error(ctx, error):
|
||||
debug(error)
|
||||
await ctx.respond(error, ephemeral=True)
|
||||
|
||||
|
||||
bot.run(discord_token) # run the bot
|
||||
Reference in New Issue
Block a user