Sha256: 4e17b5536b4a88a2348b3385ce348383b69ad343f4b579e9d1530bc4e1c8ed56
Contents?: true
Size: 223 Bytes
Versions: 4
Compression:
Stored size: 223 Bytes
Contents
# frozen_string_literal: true require "discorb" client = Discorb::Client.new client.slash("hello", "Greet for you") do |interaction| interaction.post("Hello!", ephemeral: true) end client.run(ENV["DISCORD_BOT_TOKEN"])
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
discorb-0.16.0 | examples/commands/hello.rb |
discorb-0.15.1 | examples/commands/hello.rb |
discorb-0.15.0 | examples/commands/hello.rb |
discorb-0.14.0 | examples/commands/hello.rb |