Update 'coin.rb'
This commit is contained in:
parent
0c94e60258
commit
6e492fc296
6
coin.rb
6
coin.rb
@ -7,6 +7,8 @@ MAX_COINS_PER_DAY = 4
|
|||||||
COIN_TIMEOUT = 15
|
COIN_TIMEOUT = 15
|
||||||
SCOREBOARD = './scoreboard.yml'
|
SCOREBOARD = './scoreboard.yml'
|
||||||
|
|
||||||
|
PASTA='You know what? Im done, i am leaving, we were friendly talking about the subject. This crossed the line of "ok killer of joy" to "no fun allowed"'
|
||||||
|
|
||||||
coin_state_active = false
|
coin_state_active = false
|
||||||
coins_offered_today = 0
|
coins_offered_today = 0
|
||||||
|
|
||||||
@ -89,6 +91,10 @@ bot.message(with_text: '/coins') do |event|
|
|||||||
event.respond "#{clean_name event.author.display_name}, you have #{plural('coin', coins)}!"
|
event.respond "#{clean_name event.author.display_name}, you have #{plural('coin', coins)}!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
bot.message(with_text: '!leave') do |event|
|
||||||
|
event.respond PASTA
|
||||||
|
end
|
||||||
|
|
||||||
bot.run(true)
|
bot.run(true)
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
|
Loading…
Reference in New Issue
Block a user