File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,26 @@ const command = new EventBus();
1414 * | (_| (_) | |\/| | |\/| |/ _ \| .` | |) \__ \
1515 * \___\___/|_| |_|_| |_/_/ \_\_|\_|___/|___/
1616 *
17- * @description adicione aqui os seus comandos!
17+ * @description adicione aqui os seus comandos!
18+ *
19+ * @argument params (Array de Strings) contendo parametros após o comando
20+ * @argument message (Objeto)
21+ *
22+ * @example message.send("sua mensagem") é utilizado para responder o comando
23+ * @example message.is_discord ou message.is_twitch pode ser utilizado para identificar local
24+ *
1825 */
1926
2027command . on ( "discord" , ( params , message ) => {
21- message . send ( "Discord dos IoT Streamers: https://discord.gg/Gk5e5Cx" ) ;
28+ message . send ( "Discord IoT Streamers: https://discord.gg/Gk5e5Cx" ) ;
29+ } ) ;
30+
31+ command . on ( "github" , ( params , message ) => {
32+ message . send ( "Github IoT Streamers: https://github.com/iotstreamers" ) ;
33+ } ) ;
34+
35+ command . on ( "source" , ( params , message ) => {
36+ message . send ( "Confira o meu código fonte: https://github.com/iotstreamers/discord-bot" ) ;
2237} ) ;
2338
2439module . exports = command ;
You can’t perform that action at this time.
0 commit comments