Comments (4)
https://drb.shardlab.dev/main/Discordrb/EventContainer.html#button-instance_method
https://drb.shardlab.dev/main/Discordrb/Events/ButtonEvent.html
And message sending methods have access to a yielded View
, documentation for which can be found here https://drb.shardlab.dev/main/Discordrb/Webhooks/View.html
and examples here https://github.com/shardlab/discordrb/blob/main/examples/slash_commands.rb#L72-L86
https://github.com/shardlab/discordrb/blob/main/examples/slash_commands.rb#L97-L106
from discordrb.
I see this has been moved to Done, could you link to the relevant documentation please?
from discordrb.
it looks like this code isn't in the gem on rubygems, what's the best way to install the gem with this functionality? Should I install directly from the github main branch or is that not considered stable?
adding gem 'discordrb', github: "shardlab/discordrb", branch: "main"
is how I've done this for anyone who's interested.
from discordrb.
If you want to run the latest code, we recommend using bundler with the following line in the Gemfile:
gem 'discordrb', github: 'shardlab/discordrb', branch: 'main'
Since the gem is so outdated, we recommend this until we have a release ready to go. There are bugs you can encounter with the latest gem since there have been updates on discords side but have been fixed on main.
Also be sure to check out the discord for the most up to date information and discussions
from discordrb.
Related Issues (20)
- Feat: Forums HOT 1
- We could use a release for rubygems. HOT 3
- Broken link to download the prebuilt binaries of opus for windows HOT 2
- Voice is broken HOT 1
- before_options for voice play_file/encode_file/encode_io
- 400: bad request - TTS should be string, not boolean, on `send_message` HOT 1
- Application command handlers with string instead of a symbol do not work. HOT 2
- Support all of the parameters to edit a message
- Change method name to retrieve reactions from a channel message, and update support arguments HOT 3
- Component data class does not support all components available in builder
- Respond with image for slash command HOT 2
- Please release 3.4.3 HOT 4
- Support modularizing the registration of a slash command.
- Incorrect link in README.md HOT 2
- `Channel#permission_overwrites=` argument type mismatched with docs
- Annoying log message HOT 2
- Ineffective guard clauses HOT 1
- Buttons (and string selects) without emojis broken due to a Discord API change (easy fix) HOT 5
- Chore: Bump minimum to 3.0 HOT 2
- Move webscoket-client-simple source HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discordrb.