sunny / Meuh
Licence: mit
A stupid Slack and IRC Bot AI
Programming Languages
ruby
36898 projects - #4 most used programming language
READMEUH
Meuh is a very low artificial intelligence for a very stupid bot companion for Slack or IRC.
Example conversation
<quelquun> lu
<Meuh> stucru
<quelquun> lol
<Meuh> mdr
<quelquun> t'es nouvelle Meuh?
<Meuh> euh ouais
<quelquun> cool
<quelquun> où est-ce que t'habite ?
<Meuh> dtc
<quelquun> …
<quelquun> je déteste les gens.
<quelquun> s/gens/bots/
<Meuh> je déteste les bots.
Usage
Slack
Check out examples/slack_bot.rb
.
IRC
Check out examples/cinch_bot.rb
.
Elsewhere
If you want to integrate Meuh's brain in another messaging system, you can add it to your Gemfile:
# A stupid Slack and IRC Bot AI
gem "meuh"
And use the Brain like this:
require "meuh"
bot = Meuh::Brain.new(botname: "TODO")
bot.message(nickname: "TODO", message: "TODO", nicknames: ["TODO", "TODO"]) do |response|
puts response
end
Development
You will need git, Ruby and the bundler gem. Then you should:
$ git clone https://github.com/sunny/meuh
$ cd meuh
$ bundle
Launch tests to make sure the brain still functions:
$ bundle exec rspec
Contributing
Feel free to contribute by adding more stupidity to this bot. Please send patches through Github pull requests and submit bugs through Github issues
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].