@bot.command(name='ping') async def ping(ctx): await ctx.send(f'Pong! {round(bot.latency * 1000)}ms')
@bot.event async def on_ready(): print(f'{bot.user} has connected to Discord!')
bot = commands.Bot(command_prefix='!')
GMT+8, 2025-12-14 18:51 , Processed in 0.101431 second(s), 11 queries , Redis On.