每当我试图运行导入不一致的脚本时,我的REPL或任何其他解释器都会询问我在剪贴板上想要什么
这是我的密码:
import discord
from discord.ext import commands
from discord.ext.commands import Bot
import asyncio
Client = discord.Client()
bot = commands.Bot(command_prefix="cazo.")
@bot.event
async def on_ready():
print(bot.user.name + " er klar til at bolle jer allesammen!")
@bot.command()
async def hello():
await bot.say("Goddag, fede mongol.")
@bot.command(pass_context = True)
async def cazo(ctx):
await bot.say("Cazo er jo den mægtigste person der findes.")
bot.run("TOKEN")
当我运行它时,REPL显示
What do you want on your clipboard?
但是,每当我按enter键时,它就会继续运行,bot工作正常。我怎样才能让它停下来
目前没有回答
相关问题 更多 >
编程相关推荐