added testing code

master
s00ner 2021-06-11 14:43:05 -04:00
parent e12858adc7
commit 264657b0bb
1 changed files with 12 additions and 0 deletions

12
bot.rb Normal file
View File

@ -0,0 +1,12 @@
#!/bin/env ruby
require 'discordrb'
token = File.read("./token")
bot = Discordrb::bot.new token: token
bot.message(with_text: 'Ping!') do |event|
event.respond 'Pong!'
end
bot.run