Discord.Net-发送命令然后获得响应 [英] Discord.Net - Sending command and then getting response

查看:60
本文介绍了Discord.Net-发送命令然后获得响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力寻找这个问题的答案.我想获得对命令的响应,并将其用作参数-参数.

I have been struggling to find an answer to this question. I would like to get the response to a command and use that as a parameter - argument.

示例:

用户:/say

Bot:您想让我说什么?

Bot: What would you like me to say?

用户:您好,今天过得怎么样?

User: Hello, how is your day going?

Bot:您好,今天过得怎么样?

Bot: Hello, how is your day going?

任何帮助将不胜感激!

推荐答案

您可以使用Discord.Addons.Interactive

示例代码

这篇关于Discord.Net-发送命令然后获得响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆