Sha256: 564b809c434ddc879da696136063e95afee82c39f079db99f550a34d8ef51fac

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true
require "discorb"
require_relative "message_expander"

client = Discorb::Client.new

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

client.load_extension(MessageExpander)

client.run(ENV.fetch("DISCORD_BOT_TOKEN", nil))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discorb-0.17.1 examples/extension/main.rb
discorb-0.17.0 examples/extension/main.rb