Commit bd263a6
committed
(Discord) Send Twitch relay messages to designated channel using #channel prefix in Discord
If the bot is in ValZarGaming's or DAAthren's channel, sending the message `#valzargaming hello` or `#daathren hello` in the proper Discord channel will send the message `[DISCORD] Username: hello` to the named channel. If the channel does not exist the message will be sent to the last known channel or the first channel in the channels array if none has been used yet. Additionally, sending a message via Discord without specifying a channel will always go to the channel that last had a message sent to it, or the first channel in the channels list if no message has been sent yet.1 parent 91b80bb commit bd263a6
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
| |||
351 | 357 | | |
352 | 358 | | |
353 | 359 | | |
354 | | - | |
| 360 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments