-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from SpectrixDev/beta
Added maxMsgLength and updated Readme + data types
- Loading branch information
Showing
4 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"prefix": ">", | ||
"callCoolDown": "", | ||
"prefix": "", | ||
"callCoolDown": 30, | ||
"maxMsgLength": 250, | ||
"eventName": "", | ||
"IFTTTkey": "", | ||
"discordToken": "" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"prefix": '>' | ||
"callCoolDown": "30" | ||
"eventName": "fsdfsdg-fdsafasdf" | ||
"IFTTTkey": "Tgasd4gagigj94egji" | ||
"discordToken": "MzISDUOFIAJ8EJkfojF8JIDFJOIAUDFIDSFOAIDFJjsdfikosdjUIHJi" | ||
"prefix": String: Used to "talk to" your bot. You can also mention the bot by default to run commands, but you also need a prefix. | ||
"callCoolDown": Integer: Set a cooldown between how long users can use the call command. I recommend 30 seconds or more (this is per user) | ||
"maxMsgLength": Integer: The max amount of characters for the message to be read aloud over the phone call. Should be less than 2000, I recommend 250 | ||
"eventName": String: The event name from your webhook | ||
"IFTTTkey": String: The IFTTT token/key that you got from the webhook settings URL thingy | ||
"discordToken": String: Your bot token from the Discord developer portal in the bot section (NOT client secret/client ID) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters