当我的不和谐机器人引用 reddit 时,如何不显示这个无用的小部件:
是否可以让这个小部件不显示?
这是我的代码:
@client.command()
async def reddit(ctx, arg, arg2 = None):
if not arg2:
await ctx.send('https://www.reddit.com/search/?q=' + str(arg))
await ctx.send('`^ Searching for` ' + str(arg) + '`... ^`')
if arg2:
await ctx.send('https://www.reddit.com/' + str(arg2) + '/search?q=' + str(arg) + '&restrict_sr=1')
千万里不及你
相关分类