The Wayback Machine - https://web.archive.org/web/20210725022138/https://github.com/topics/discord-api
Skip to content
#

discord-api

Here are 867 public repositories matching this topic...

Discord4J
Azn9
Azn9 commented Jul 22, 2021

To Reproduce: /
Expected Behavior: /
Actual Behavior: /

Version: v3.1.7

Other:
Full error :
`> [ WARN] (reactor-http-epoll-6) Error while decoding JSON (java.lang.IllegalArgumentException: Attempt to deserialize payload with unknown event type: GUILD_JOIN_REQUEST_DELETE): {"t":"GUILD_JOIN_REQUEST_DELETE","s":149,"op":0,"d":{"user_id":"745689321633349712","guild_id"

JohnScience
JohnScience commented Aug 10, 2018

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()
Squ1dboi
Squ1dboi commented Aug 17, 2020

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

Improve this page

Add a description, image, and links to the discord-api topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more