Compare commits

...

2 Commits

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