RubyGems Navigation menu

discorb 0.0.1

# discorb [![rubydoc](https://img.shields.io/badge/Document-rubydoc.info-blue.svg)](https://rubydoc.info/gems/discorb) [![Gem](https://img.shields.io/gem/dt/discorb?logo=rubygems&logoColor=fff)](https://rubygems.org/gems/discorb) [![Gem](https://img.shields.io/gem/v/discorb?logo=rubygems&logoColor=fff)](https://rubygems.org/gems/discorb) discorb is a Discord API wrapper for Ruby. ## Installation Add this line to your application's Gemfile: ```ruby gem 'discorb' ``` And then execute: $ bundle install Or install it yourself as: $ gem install discorb ## Usage ### Simple ping-pong ```ruby require "discorb" client = Discorb::Client.new client.once :ready do puts "Logged in as #{client.user}" end client.on :message do |_task, message| next if message.author.bot? next unless message.content == "ping" message.channel.post("Pong!") end client.run(ENV["DISCORD_BOT_TOKEN"]) ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/sevenc-nanashi/discorb. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Gemfile:
=

install:
=

Versions:

  1. 0.20.0 September 03, 2022 (912 KB)
  2. 0.19.0 August 05, 2022 (908 KB)
  3. 0.18.1 July 05, 2022 (907 KB)
  4. 0.18.0 June 26, 2022 (907 KB)
  5. 0.17.1 May 27, 2022 (894 KB)
  6. 0.0.1 August 28, 2021 (103 KB)
Show all versions (75 total)

Owners:

Pushed by:

Authors:

  • sevenc-nanashi

SHA 256 checksum:

=

Total downloads 112,985

For this version 1,600

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Links: