-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added commands: - pickrandom (picks a random word from supplied arguments, split by spaces) - ynm (ask a question and get a reply ranging from yes, no or maybe) - checklove (ping two users and get their love value calculated based on their discord IDs) - checktruth (provide a string of text after the command name and get the string's objective, inrefutable and correct truth value) Changes: - Help command is now more compact - added a "Playing" status message
- Loading branch information
Showing
11 changed files
with
368 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BotProfile = { | ||
playing = "=help" | ||
} | ||
|
||
BotProfile.status = string.format([[ | ||
%s is a general-purpose bot written in Lua. | ||
My default prefix is %s, see %shelp for more information about me! | ||
My source code can be viewed here: %s | ||
]], info.name, info.prefix, info.prefix ,info.repository) | ||
|
||
return BotProfile |
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-- This file contains the weight values for yes, no and maybe for the ynm command: | ||
-- Notice: Numbers are not percentages! | ||
|
||
YesNoMaybe = {} | ||
YesNoMaybe.weight = { | ||
['yes'] = 5, | ||
['no'] = 5, | ||
['maybe'] = 2 | ||
} | ||
|
||
-- This string will be fed through string.format(), %s is Message.author.mentionString (Ping) | ||
YesNoMaybe.askMeSomethingPrompt = "I don't know, how about you ask me something, %s?" | ||
|
||
-- This is the answer string, it will be fed through string.format() as well: (first is out, second is Message.author.mentionString) | ||
YesNoMaybe.responsePrompt = "%s, %s." | ||
|
||
return YesNoMaybe |
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,5 +1,6 @@ | ||
-- Information considered to be global: (can be modified, but has nothing secret or config-related in it) | ||
globalInfo = { | ||
version = 'v0.3' | ||
version = 'v0.4' | ||
} | ||
|
||
return globalInfo |
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
Oops, something went wrong.