我正在制作一个货币Discord机器人。
示例代码:
import discord
from discord.ext import commands
client = commands.Bot(command_prefix="!")
@client.event
async def on_ready():
print("Bot is ready.")
@client.command()
async def help(ctx):
await ctx.send("这是一个货币机器人,可以帮助您管理货币!")
client.run("YOUR_DISCORD_TOKEN")