Discord Bot Maker

Discord Bot Maker

View Stats:
Lima Mar 25, 2018 @ 1:25pm
8ball command
how can I create an 8ball command?

I'm very very new to Discord Bot Maker and bought it because I have no idea how to code, so please be very clear.
< >
Showing 1-2 of 2 comments
Luna Mar 25, 2018 @ 1:50pm 
I've stolen this from the raw data guild. You can join it through the pinned thread.


Magic 8 Ball (Improved!) (No mods needed)
This is a command that simulates a magic 8 ball - the user runs the command, the bot generates a random number and returns a line of text based on the number generated.

(Improved!) This command uses only 4 actions to complete, doing all of the message sending from a run-script action using a switch/case function which is very easy to follow and update.

This could be very easily modified to add responses, simply add a new case #: msg.channel.send("response"); break; line for each additional response desired.

code: https://ghostbin.com/paste/4jb4d
Made by Silversunset
Lima Mar 25, 2018 @ 1:56pm 
Originally posted by Lasse:
I've stolen this from the raw data guild. You can join it through the pinned thread.


Magic 8 Ball (Improved!) (No mods needed)
This is a command that simulates a magic 8 ball - the user runs the command, the bot generates a random number and returns a line of text based on the number generated.

(Improved!) This command uses only 4 actions to complete, doing all of the message sending from a run-script action using a switch/case function which is very easy to follow and update.

This could be very easily modified to add responses, simply add a new case #: msg.channel.send("response"); break; line for each additional response desired.

code: https://ghostbin.com/paste/4jb4d
Made by Silversunset
Thanks, awesome program btw! :D
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Mar 25, 2018 @ 1:25pm
Posts: 2