Skip to content
Reisen edited this page Jun 24, 2013 · 5 revisions

Bruh

This page covers basic usage of the bot, and a list of commands. For information on how to write plugins for the bot, see the bot development page.

Commands

Bruh's commands work like most bots on the surface, with a few extra useful facts. All commands can be referred to with any prefix, I.E, .google can be called with .go or .g. Commands can also have their output piped as the input to other commands, a lot like a shell can: .last | .filter md5. You can actually use bash-like substitutions to do this as well: .filter md5 $(last).

A good useful of example for these features might be for easy quoting: .last Bob,Mark,Jon 4 | .q - this quotes the last 4 messages by Bob, Mark, and Jon and saves them in the quotes db.

Command Name Description
[[.calculate Home#calculate-example]]
[[.choose Home#choose-example]]
[[.down Home#down-example]]
[[.echo Home#echo-example]]
[[.filter Home#filter-example]]
[[.github Home#github-example]]
[[.google Home#google-example]]
[[.help Home#help-example]]
[[.image Home#image-example]]
[[.karma Home#karma-example]]
[[.last Home#last-example]]
[[.tell Home#tell-example]]
[[.quote Home#quote-example]]
[[.remember Home#remember-example]]
[[.seen Home#seen-example]]
[[.youtube Home#youtube-example]]
[[.urban Home#urban-example]]

Calculate Example

<you> .calc 1 + 2^2
<bruh> 5

Choose Example

<you> .choose dogs own, dogs suck, dogs are ok
<bruh> dogs own

Echo Example

<you> .echo Woah Wow | .filter reverse
<bruh> woW haoW

Down Example

<you> .down google.com
<bruh> It's just you, google.com is up.

Filter Example

<you> .filter md5 test
<bruh> 098f6bcd4621d373cade4e832627b4f6

Github

See the [[github module|Github]] page on how to use this module.

Google Example

<you> .google hello
<bruh> http://www.test.com/ -- Create Tests for Organizat...

Help Example

<you> .help last
<bruh> Print messages the bot has recently seen.

Image Example

<you> .image hello
<bruh> http://images5.fanpop.com/image/photos/25600000/Hello-Kitty-Sitting-hello-kitty-25604546-1210-1429.jpg

Karma Example

<you> .karma bob
<bruh> I haven't got any karma records for bob
<you> bob++
<bruh> bob, you gained karma
<you> .karma bob
<bruh> Current karma for bob is: 1

Last Example

<you> Just a few lines to build up
<you> what bruh has recently seen
<bob> oh ok
<you> just for kicks
<you> .last
<bruh> What is going on here
<you> .last 2
<bruh> <bob> oh ok <you> just for kicks

Remember Example

<you> .remember bruh The best bot ever made.
<bruh> I'll remember that
<you> ?bruh
<bruh> bruh: The best bot ever made.

Quotes Example

<you> .q
<bruh> Quote [56/392]: <me> This finds a random quote <you> Oh that's cool
<you> .q get 4
<bruh> Quote [4/392]: <me> This finds a specific quote <you> Oh that's cool
<you> .q add <me> This is how you add quotes <you> Oh that's cool
<bruh> Awesome, quote saved.

Seen Example

<bob> .seen Bob
<bruh> Bob was last seen 5 hours ago saying: brb, back in an hour

Tell Example

<Bob> .tell Mark Oi where the hell are you
<bruh> I will pass that along.
<Mark> Sup yo
       Notice (bruh) - From Bob: Oi where the hell are you

Urban Example

<you> .urban donkey
<bruh> donkey - A girl with a fat booty.

Youtube Example

<you> .youtube the world
<bruh> No, I'm not going to the world cup. - length 6m 1...