mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
🎨 - Code cleaning
This commit is contained in:
+1
-3
@@ -2,11 +2,9 @@ from private import TOKEN_BOT
|
||||
from discord.ext import commands
|
||||
import discord
|
||||
|
||||
|
||||
bot = commands.Bot(command_prefix='$')
|
||||
startup_extensions = ["cmd_other", "cmd_lol", "cmd_osu", "cmd_twitch"]
|
||||
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
default_activity = discord.Activity(type=discord.ActivityType.listening, name='$help')
|
||||
@@ -20,4 +18,4 @@ if __name__ == "__main__":
|
||||
bot.load_extension(extension)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
bot.run(TOKEN_BOT)
|
||||
bot.run(TOKEN_BOT)
|
||||
|
||||
Reference in New Issue
Block a user