Sha256: c1686764866e39307bf866276967484ea1cc4201efed21bd9806f0cd208c3c71

Contents?: true

Size: 218 Bytes

Versions: 33

Compression:

Stored size: 218 Bytes

Contents

require "discorb"
require_relative "message_expander"

client = Discorb::Client.new

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

client.extend(MessageExpander)

client.run(ENV["DISCORD_BOT_TOKEN"])

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
discorb-0.7.6 examples/extension/main.rb
discorb-0.7.3 examples/extension/main.rb
discorb-0.7.2 examples/extension/main.rb
discorb-0.7.1 examples/extension/main.rb
discorb-0.7.0 examples/extension/main.rb
discorb-0.6.1 examples/extension/main.rb
discorb-0.6.0 examples/extension/main.rb
discorb-0.5.6 examples/extension/main.rb
discorb-0.5.5 examples/extension/main.rb
discorb-0.5.4 examples/extension/main.rb
discorb-0.5.3 examples/extension/main.rb
discorb-0.5.2 examples/extension/main.rb
discorb-0.5.1 examples/extension/main.rb
discorb-0.5.0 examples/extension/main.rb
discorb-0.4.2 examples/extension/main.rb
discorb-0.4.1 examples/extension/main.rb
discorb-0.4.0 examples/extension/main.rb
discorb-0.3.1 examples/extension/main.rb
discorb-0.3.0 examples/extension/main.rb
discorb-0.2.5 examples/extension/main.rb