0

How can I test whether a text f.E. !text is written in a specific Discord Channel?

So I want to make a Command in Discord which is only useable in one Channel and should send a message in another Channel!

15th Apr 2019, 10:17 PM
Arbee
Arbee - avatar
2 Antworten
+ 5
Assuming you are using Discord.js, you can get the channel and other info with the message. Read that page: https://discord.js.org/#/docs/main/stable/class/Message
16th Apr 2019, 1:55 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
0
Oh... Sorry I forgot to say this. I'm using discord.py const InvBoy = me;
16th Apr 2019, 4:37 AM
Arbee
Arbee - avatar