Trying to create a basic Discord bot in Python that when I type .ping the bot responds with pong

前端 未结 0 1457
抹茶落季
抹茶落季 2020-12-02 11:17
import random
from discord.ext import commands

client = commands.Bot(command_prefix=\'.\')

@client.event
async def on_ready():
        print(\'Bot is ready.\')

@c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题