Skip to content

A lightweight Discord API wrapper for sending messages in Ruby

License

Notifications You must be signed in to change notification settings

imtrent/discord-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Discord Messenger

A lightweight wrapper for sending Discord messages in Ruby.

Installation

Add the gem to your project

# Gemfile
gem 'discord-messenger'

Then bundle install and you are ready to go.

Usage

Initialize the provided Discord class with your channel's webhook url and call the send_message method with a string.

require 'discord-messenger'

discord = Discord.new(YOUR_WEBHOOK_URL)
discord.send_message("Howdy partner 🤠")

About

A lightweight Discord API wrapper for sending messages in Ruby

Resources

License

Stars

Watchers

Forks

Languages