Discord.Net - Sending command and then getting response

霸气de小男生 提交于 2020-01-30 12:01:10

问题


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.

Example:

User: /say

Bot: What would you like me to say?

User: Hello, how is your day going?

Bot: Hello, how is your day going?

Any help is greatly appreciated!


回答1:


You can achieve this with Discord.Addons.Interactive

Example code



来源:https://stackoverflow.com/questions/50054535/discord-net-sending-command-and-then-getting-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!