Skip to content

Commit

Permalink
I am a bit of a troll
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Dec 29, 2024
1 parent 4166af0 commit 366890e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/main/kotlin/me/duncte123/io/hirobs/ReactionHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ class ReactionHandler {
),
"io" to StringReaction(
listOf("io", "<@1215363445583646750>", "<@!1215363445583646750>"),
{ "IO? That's me." },
{
listOf(
"IO? That's me.",
"Sorry, I did not understand that command, try saying 'hey oracle' before your command.",
"Olympus University Interactive Oracle at your service!"
).random()
},
50.0,
true,
{
Expand All @@ -74,6 +80,20 @@ class ReactionHandler {
ioNameRegex.find(it.message.contentRaw.lowercase()) != null
}
),
"hey_io_oracle" to StringReaction(
listOf("hey oracle", "hey io"),
{
"I'm sorry, I didn't quite understand that. Try saying 'hey oracle what can you do?' for a list of commands.\n" +
"Alternatively, consult the manual in your Oracle phone for a detailed explanation.\n" +
"To prevent spam, a 5 minute cooldown has been initiated."
},
100.0,
true,
{
it.message.contentRaw.startsWith("hey oracle", ignoreCase = true) ||
it.message.contentRaw.startsWith("hey io", ignoreCase = true)
}
),
"oldlady" to StringReaction(
listOf("old lady"),
{
Expand Down

0 comments on commit 366890e

Please sign in to comment.