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
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..."
@bot = Discordrb::Bot.new(
token: ENV['BOT_TOKEN'],
intents: [:server_messages]
intents: [:servers, :server_messages]
)
puts "Registering the Message Checker and Button Handler..."

View File

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