lib/slack/smart-bot/commands/general/bye_bot.rb in slack-smart-bot-1.9.2 vs lib/slack/smart-bot/commands/general/bye_bot.rb in slack-smart-bot-1.10.0
- old
+ new
@@ -1,13 +1,6 @@
class SlackSmartBot
- # help: ----------------------------------------------
- # help: `Bye Bot`
- # help: `Bye Smart`
- # help: `Bye NAME_OF_THE_BOT`
- # help: Bot stops listening to you
- # help: Also apart of Bye you can use _Bæ, Good Bye, Adiós, Ciao, Bless, Bless Bless, Adeu_
- # help:
def bye_bot(dest, from, display_name)
if @status == :on
save_stats(__method__)
bye = ["Bye", "Bæ", "Good Bye", "Adiós", "Ciao", "Bless", "Bless bless", "Adeu"].sample
respond "#{bye} #{display_name}", dest