當(dāng)我的不和諧機(jī)器人引用 reddit 時(shí),如何不顯示這個(gè)無用的小部件:是否可以讓這個(gè)小部件不顯示?這是我的代碼: @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')
1 回答

千萬里不及你
TA貢獻(xiàn)1784條經(jīng)驗(yàn) 獲得超9個(gè)贊
將鏈接包裹起來< >
await ctx.send('<https://www.reddit.com/search/?q=' + str(arg) + ">")
這是一個(gè) Discord 功能,不僅僅是特定于編寫機(jī)器人。
添加回答
舉報(bào)
0/150
提交
取消