【发布时间】:2021-12-31 02:11:40
【问题描述】:
所以我这里有这段代码:
def ConsoleCMD(self, cmd):
print((datetime.now().strftime('%H:%M:%S')),f"\tSomeone used the '{cmd}' command!")
@commands.command()
async def ping(self, ctx):
await ctx.send('Pong!')
self.ConsoleCMD(self, "ping")
我想用实际使用它的人来更改“有人使用过”,但我不知道如何
【问题讨论】: