Created
September 4, 2016 20:09
-
-
Save meew0/52f0672887d0897f85255c7d0b8e2b35 to your computer and use it in GitHub Desktop.
discordcr ping bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "discordcr" | |
client = Discord::Client.new(token: "token", client_id: 12345_u64) | |
client.on_message do |payload| | |
client.create_message(payload.channel_id, "Pong!") | |
end | |
client.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment