From 7961bf06441747fd38c00ddcb256f991f5f5b852 Mon Sep 17 00:00:00 2001 From: Soarn Date: Wed, 19 Jun 2019 22:04:55 -0700 Subject: [PATCH 1/2] Add more bot stuff, and README stuff. take a look yourself, or don't. preferably dont. then just get suprised when the bot does somethin. --- README.md | 2 ++ code.rb | 26 +++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 99f44de..0c97e76 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,5 @@ Heyo, this is CahBot Alpha! Where stuff is so experimental, the word "experiment Y'know, it's hard to update this list every single time I update something, so just use `A^cmds` and figure it out, thanks! #### For a cooler looking README blablahbla [here](https://github.com/CahBots/cahbot/blob/master/README.md) + +# LITERALLY EVERYONE ELSE HAS CONTRIBUTED TO THIS FILE, SO I MIGHT AS WELL DO IT TOO. THIS BOT IS FUNKY WACK DOESN'T KNOW WHATS HAPPENING, JOIN DISCORD FOR HELP, HELP. \ No newline at end of file diff --git a/code.rb b/code.rb index d49e6b9..15d3f39 100644 --- a/code.rb +++ b/code.rb @@ -3,7 +3,7 @@ require 'open-uri' require_relative 'config.rb' -bot = Discordrb::Commands::CommandBot.new token: configatron.token, client_id: 291_390_171_151_335_424, prefix: ['A^', '<@291390171151335424> '], ignore_bots: true +bot = Discordrb::Commands::CommandBot.new token: configatron.token, client_id: 291_390_171_151_335_424, prefix: ['A^', '<@291390171151335424> ', 'bruh', 'buh', 'moment'], ignore_bots: true bot.bucket :normal, limit: 5, time_span: 15, delay: 3 @@ -11,7 +11,27 @@ sleep 180 bot.game = 'Use A^cmds or A^info' sleep 180 - bot.game = "on #{bot.servers.count} servers!" + bot.game = "on #{bot.servers.count} servers!" # why is this the only line with double quotes? wouldn't using those everywere save on a bunch of `don\'t`s? + sleep 180 + bot.game = 'cah.soarn.pro' + sleep 180 + bot.game = 'cah.soarn.pro/noot.gif' + sleep 180 + bot.game = 'bruh?' + sleep 180 + bot.game = 'moment?' + sleep 180 + bot.game = 'bruh moment.' + sleep 180 + bot.game = 'certified buh' + sleep 180 + bot.game = `certified bruh-momentum free` + sleep 180 + bot.game = 'please activate windows' + sleep 180 + bot.game = 'I\'ll think about it.' + sleep 180 + bot.game = '2003cah, 2 years ago • aaaaaa' redo end @@ -55,7 +75,7 @@ bot.command(:restart, help_available: false) do |event| if event.user.id == 228_290_433_057_292_288 begin - event.respond ['Into the ***fuuuutttttuuuuurrrreeee***', 'Please wait...', 'How about n—', 'Can do :thumbsup::skin-tone-1:', 'Pong! Hey, that took... Oh wait, wrong command', 'Ask again at a later ti—'].sample + event.respond ['Into the ***fuuuutttttuuuuurrrreeee***', 'Please wait...', 'How about n—', 'Can do :thumbsup::skin-tone-1:', 'Pong! Hey, that took... Oh wait, wrong command', 'Ask again at a later ti—', 'Pong! Hey, that took...', 'do do DO do', 'no.', 'please don\'t pull a bruh mome'].sample exec('bash restart.sh') end else From ab477f09614c894219ee597c8a379f41eb230461 Mon Sep 17 00:00:00 2001 From: Soarn Date: Wed, 19 Jun 2019 22:12:44 -0700 Subject: [PATCH 2/2] Add newline according to markdownlint or whatnot, I need to add a newline, so here ya go. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c97e76..2530f41 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ Y'know, it's hard to update this list every single time I update something, so j #### For a cooler looking README blablahbla [here](https://github.com/CahBots/cahbot/blob/master/README.md) -# LITERALLY EVERYONE ELSE HAS CONTRIBUTED TO THIS FILE, SO I MIGHT AS WELL DO IT TOO. THIS BOT IS FUNKY WACK DOESN'T KNOW WHATS HAPPENING, JOIN DISCORD FOR HELP, HELP. \ No newline at end of file +# LITERALLY EVERYONE ELSE HAS CONTRIBUTED TO THIS FILE, SO I MIGHT AS WELL DO IT TOO. THIS BOT IS FUNKY WACK DOESN'T KNOW WHATS HAPPENING, JOIN DISCORD FOR HELP, HELP.