Skip to content
Snippets Groups Projects
Commit 18b2441b authored by Richard Banks's avatar Richard Banks
Browse files

Fixed bugs in the seen plugin and incremented version to 6.5.9.1

parent 4228bcd0
No related branches found
No related tags found
1 merge request!91Merge 6.5.9.1 w/ dev-6 branch
......@@ -26,7 +26,7 @@ bot = Cinch::Bot.new do
c.channels = ["#Eve"]
c.nick = "Eve"
c.user = "Eve"
c.realname = "Eve 6.5.9"
c.realname = "Eve 6.5.9.1"
## Below is the plugin block for Eve-Bot. Please be sure that all the plugins
## that you want the bot to use are included in this block. If you want to
......
......@@ -43,9 +43,12 @@ module Cinch
def execute(m, nick)
return if pm(m)
unless m.user.nick.downcase == nick.downcase
m.reply seen(m, nick), true
end
return m.reply "Silly #{m.user.nick}, that's you!" if nick.downcase == m.user.nick.downcase
return m.reply "#{m.user.nick} I'm right here! Silly!" if nick == bot.nick
m.reply seen(m, nick), true
end
private
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment