You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
201 B
Ruby

3 years ago
def quit(bot, bang)
bot.message(with_text: "#{bang}Quit") do |event|
break unless event.user.id == 185533351866662913
bot.send_message(event.channel.id, 'Bot is shutting down')
bot.stop
end
end