diff --git a/src/bot.rb b/src/bot.rb index b129b26..f56616a 100644 --- a/src/bot.rb +++ b/src/bot.rb @@ -41,8 +41,6 @@ class CheeseBot start_bot end - - def run @bot.run end @@ -68,7 +66,7 @@ class CheeseBot def start_bot @bot.ready do puts "#{@bot.profile.username} is online... GIVE ME THE CHEESE." - @bot.update_status("online", "We're so back.", nil, 0, false, 0) + @bot.update_status("online", "Eating cheese.", nil, 0, false, 0) end end -end +end \ No newline at end of file diff --git a/src/commands/cheese_related/cheese.rb b/src/commands/cheese_related/cheese.rb index 9f2dab2..0bb1a4a 100644 --- a/src/commands/cheese_related/cheese.rb +++ b/src/commands/cheese_related/cheese.rb @@ -22,7 +22,7 @@ module Commands cmd_key = :cheese cmd_desc = "Cheese." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| event.respond(content: "🧀") diff --git a/src/commands/cheese_related/facts.rb b/src/commands/cheese_related/facts.rb index 331fd0d..a47a170 100644 --- a/src/commands/cheese_related/facts.rb +++ b/src/commands/cheese_related/facts.rb @@ -24,7 +24,7 @@ module Commands cmd_key = :fact cmd_desc = "Get a random cheese fact." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| event.respond(content: Lists::CHEESE_FACTS.sample) diff --git a/src/commands/cheese_related/photos.rb b/src/commands/cheese_related/photos.rb index 14a4794..836cfdf 100644 --- a/src/commands/cheese_related/photos.rb +++ b/src/commands/cheese_related/photos.rb @@ -24,7 +24,7 @@ module Commands cmd_key = :photo cmd_desc = "Get a cheese photo." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| event.respond(content: Lists::CHEESE_PHOTOS.sample) diff --git a/src/commands/cheese_related/truth.rb b/src/commands/cheese_related/truth.rb index 922cd8d..3ae4f42 100644 --- a/src/commands/cheese_related/truth.rb +++ b/src/commands/cheese_related/truth.rb @@ -24,7 +24,7 @@ module Commands cmd_key = :truth cmd_desc = "The Cheese of Truth. Get a random phrase that's 100% the truth." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| event.respond(content: Lists::CHEESE_OF_TRUTH.sample) diff --git a/src/commands/not_cheese_related/blacklist.rb b/src/commands/not_cheese_related/blacklist.rb index beb2a16..0989c5b 100644 --- a/src/commands/not_cheese_related/blacklist.rb +++ b/src/commands/not_cheese_related/blacklist.rb @@ -24,7 +24,7 @@ module Commands cmd_key_server = :server_blacklist cmd_desc_server = "Blacklist the server from the trigger DMs (using the command again will whitelist the server.)" - bot.register_application_command(cmd_key_server, cmd_desc_server, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key_server, cmd_desc_server) bot.application_command(cmd_key_server) do |event| unless event.user.permission?(:administrator) diff --git a/src/commands/not_cheese_related/donate.rb b/src/commands/not_cheese_related/donate.rb index 6918bba..5b76b07 100644 --- a/src/commands/not_cheese_related/donate.rb +++ b/src/commands/not_cheese_related/donate.rb @@ -22,7 +22,7 @@ module Commands cmd_key = :donate cmd_desc = "Only if you can and want, of course." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| event.respond(content:"[Donate a ko-fi](https://ko-fi.com/reicore) to my creator if you can, and want.") diff --git a/src/commands/not_cheese_related/help.rb b/src/commands/not_cheese_related/help.rb index c851387..39c2fd7 100644 --- a/src/commands/not_cheese_related/help.rb +++ b/src/commands/not_cheese_related/help.rb @@ -24,7 +24,7 @@ module Commands cmd_key = :help cmd_desc = "Use this command to know more." - bot.register_application_command(cmd_key, cmd_desc, server_id: ENV['SERVER_ID']) + bot.register_application_command(cmd_key, cmd_desc) bot.application_command(cmd_key) do |event| random_color = ("0x" + Random.bytes(3).unpack1('H*')).to_i(16)