Sha256: 0d99a8ad353f7495a52449fa334c7bada5a8ec52cb910cbbac7d2a4ad224ffb8

Contents?: true

Size: 220 Bytes

Versions: 9

Compression:

Stored size: 220 Bytes

Contents

require "discorb"
require_relative "message_expander"

client = Discorb::Client.new

client.once :standby do
  puts "Logged in as #{client.user}"
end

client.extend(MessageExpander)

client.run(ENV["DISCORD_BOT_TOKEN"])

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
discorb-0.9.6 examples/extension/main.rb
discorb-0.9.5 examples/extension/main.rb
discorb-0.9.4 examples/extension/main.rb
discorb-0.9.3 examples/extension/main.rb
discorb-0.9.1 examples/extension/main.rb
discorb-0.9.0 examples/extension/main.rb
discorb-0.8.2 examples/extension/main.rb
discorb-0.8.1 examples/extension/main.rb
discorb-0.8.0 examples/extension/main.rb