Skip to content
#

discord-bot

Here are 8,395 public repositories matching this topic...

jb3
jb3 commented Feb 21, 2021

Following on from python-discord/meta#92.

We want to provide a third help channel in the available category so that more people can type their question at once without the channel being claimed halfway through. Please see the original issue for the justification.

The help channels cog must be altered to provide for this and place 3 help channels into the available pool (as opposed to the cur

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()

Improve this page

Add a description, image, and links to the discord-bot 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-bot topic, visit your repo's landing page and select "manage topics."

Learn more