Compare commits

..

6 Commits

3 changed files with 37 additions and 3 deletions

View File

@@ -1,6 +1,37 @@
# CheeseBot - REWRITE. # cheeseBot - rewrite
This is a work in progress... cheeseBot is a bot made by Eri/Rei related to stuff about cheese.
Its main function gets triggered whenever it detects a message with a cheese keyword. Users can opt-out of this feature by using the button attached to the DM sent by cheeseBot.
A server can also opt-out of this feature, by running the command `/server_blacklist`. Be advised that only admins can use this command.
## Commands
Other commands from cheeseBot are...
1. `/cheese`
Sends a cheese wedge (🧀) to the channel.
----
2. `/photo`
Sends a cheese photo to the channel.
----
3. `/fact`
Sends a cheese fact to the channel.
----
4. `/truth`
Sends a phrase that's 100% the truth to the channel (This is a joke).
----
## License ## License
This project is licensed under the [GNU General Public License v3.0](https://spdx.org/licenses/GPL-3.0-or-later.html). This project is licensed under the [GNU General Public License v3.0](https://spdx.org/licenses/GPL-3.0-or-later.html).

View File

@@ -24,7 +24,7 @@ class CheeseBot
puts "Initializing bot..." puts "Initializing bot..."
@bot = Discordrb::Bot.new( @bot = Discordrb::Bot.new(
token: ENV['BOT_TOKEN'], token: ENV['BOT_TOKEN'],
intents: [:server_messages] intents: [:servers, :server_messages]
) )
puts "Registering the Message Checker and Button Handler..." puts "Registering the Message Checker and Button Handler..."

View File

@@ -35,6 +35,7 @@ module Lists
"casgiu", "casgiu",
"cheddar", "cheddar",
"cheese", "cheese",
"cheesy",
"chiiz", "chiiz",
"chisi", "chisi",
"chizi", "chizi",
@@ -78,6 +79,7 @@ module Lists
"parmesan", "parmesan",
"pendir", "pendir",
"penêr", "penêr",
"peynir",
"pepperjack", "pepperjack",
"provolone", "provolone",
"quark", "quark",
@@ -89,6 +91,7 @@ module Lists
"ricotta", "ricotta",
"roquefort", "roquefort",
"sajt", "sajt",
"ser",
"sires", "sires",
"sisi", "sisi",
"spundekäs", "spundekäs",