-
Notifications
You must be signed in to change notification settings - Fork 99
How do I ...?
If you want to do something but are unsure where to get help on doing it, this is the page for you.
First of all, make sure your problem is actually specific to discordrb and not Ruby in general. For many Ruby problems you can easily find advice on Google/StackOverflow. (It doesn't hurt to google any problem you might have - worst case you'll just find nothing.)
The resources you should use to solve "how do I" problems in discordrb, in descending order of importance:
- The tutorials have general advice on many topics. If your problem is of the more general kind, you will probably find help there.
- The examples have example bots for both general topics and specific things people commonly need to do.
- The comparison mappings provide a link between Discord features and relevant pages in the documentation and can be incredibly useful for specific things you're stuck on while solving a general problem.
- If you have a decent understanding of Ruby you can also look at the code itself; the most useful place to look at in most cases is the data directory. Don't be afraid to use Ctrl+F.
- While usually less useful for "how do I" questions, the documentation itself provides a wealth of information that may or may not be useful. Try looking for something that vaguely resembles your problem and going from there. Relevant.
If you have failed to find anything using the above instructions, you can ask for help in the discordrb channel. Do not ask questions that are simply "how do I do <bot feature>", like for example "how do I make a prune command" or "how do I make a command that automatically adds a role on joining", rather, ask a specific question like "how do I add a role to a user" and use your own knowledge and Ruby understanding to figure out the rest.