-
Updated
Sep 11, 2021 - JavaScript
discord-api
Here are 941 public repositories matching this topic...
-
Updated
Sep 6, 2021 - Python
-
Updated
Sep 12, 2021 - JavaScript
-
Updated
Aug 22, 2021 - C#
-
Updated
Sep 10, 2021 - Java
-
Updated
Sep 10, 2021 - Python
-
Updated
Sep 12, 2021 - C#
-
Updated
Sep 9, 2021 - HTML
-
Updated
Feb 5, 2021 - Ruby
-
Updated
Aug 25, 2021 - HTML
The most of Discord bots are expected to provide "mute" and "ban" commands. Their implementation involves juggling with parsing strings just to get so-much-desired duration.
Formats:
"3w 1d 11 [many spaces]h \t30m 20s 5ms"
Methods:
- duration.toWeeks() -> float
- duration.toDays() -> float
- duration.toMinutes() -> float
- duration.toSeconds() -> float
- duration.toMilliseconds()
-
Updated
Sep 11, 2021 - Java
-
Updated
Aug 31, 2021 - HTML
-
Updated
Sep 12, 2021 - Python
-
Updated
Aug 20, 2021 - Lua
-
Updated
Sep 10, 2021 - TypeScript
-
Updated
Sep 12, 2021 - Kotlin
-
Updated
Sep 12, 2021 - Go
-
Updated
Sep 8, 2021 - Elixir
-
Updated
Sep 2, 2021 - Python
-
Updated
Jan 19, 2021 - Lua
I got all requirements and followed all the steps, but when I opened rtb.py, nothing happens! it says
Unable to read Config file.
Importing necessary modules and checking installations.
RTBFiles directory not found.
downloading config,json
and then, nothing happens. can someone help?
![image](https://user-images.githubusercontent.com/68292297/90455230-91f1aa00-e0c3-11ea-875c-c017bc872e6c.pn
-
Updated
Sep 11, 2021 - Rust
-
Updated
Nov 16, 2020 - Python
-
Updated
Aug 8, 2021 - C++
-
Updated
Sep 10, 2021 - Go
-
Updated
Jul 27, 2018 - Python
Improve this page
Add a description, image, and links to the discord-api topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the discord-api topic, visit your repo's landing page and select "manage topics."
The examples modify the type map manually instead of using
type_map_insert
during initialization:https://github.com/serenity-rs/serenity/blob/46ace1f7dcaca9c993dacc8e920f65728e3e191b/examples/e06_sample_bot_structure/src/main.rs#L90-L93
I suspect this is to show how you might access the global data outside of the client setup, but I feel that
type_map_insert
communicates the intent much