Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 473 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 473 Bytes

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 🤠")