| import org.apache.logging.log4j.Level; | |
| import org.apache.logging.log4j.Marker; | |
| import org.apache.logging.log4j.core.Filter; | |
| import org.apache.logging.log4j.core.LogEvent; | |
| import org.apache.logging.log4j.core.Logger; | |
| import org.apache.logging.log4j.core.filter.AbstractFilter; | |
| import org.apache.logging.log4j.message.Message; | |
| import org.jetbrains.annotations.NotNull; | |
| import org.jetbrains.annotations.Nullable; |
Slash commands offer a way to integrate your bot commands directly into the Discord UI. However, these commands are still very limited and cannot replace every use-case for now. I'll explain the limitations and possibilities of this new feature a bit here.
Slash Commands work entirely through the Webhook API. Which introduces a number of moderation issues. See the Moderation section below. It also causes some Rate Limit Problems.
- Simple Q/A type commands that just take an input and return an answer
- Simple commands that have side-effects such as kick/ban/music
« » ░ ▒ ▓ ∙ ■
ℹ ⚠ ☞ ☜ ☮
⓪ ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳ Ⓐ Ⓑ Ⓒ Ⓓ Ⓔ Ⓕ Ⓖ Ⓗ Ⓘ Ⓙ Ⓚ Ⓛ Ⓜ Ⓝ Ⓞ Ⓟ Ⓠ Ⓡ Ⓢ Ⓣ Ⓤ Ⓥ Ⓦ Ⓧ Ⓨ Ⓩ ⓐ ⓑ ⓒ ⓓ ⓔ ⓕ ⓖ ⓗ ⓘ ⓙ ⓚ ⓛ ⓜ ⓝ ⓞ ⓟ ⓠ ⓡ ⓢ ⓣ ⓤ ⓥ ⓦ ⓧ ⓨ ⓩ
Created with
- Node 14.15
- THREE.js r124
- headless-gl 4.9.0
Make sure you install headless-gl's dependencies, then run with XVFB like so:
Here are some APIs you can use in your Discord bot or any other project. For any help or questions on how to use one, please contact the owner of the API and not me.
A bigger list of APIs can be found at: https://github.com/public-apis/public-apis
[TOKEN] = API requires a token to access some if not all endpoints.
This gist covers the changes to loot tables introduced in 18w43a, the first 1.14 snapshot. Check out this more in-depth loot table guide.
Last updated: 18w49a
| def plural_days(n): | |
| days = ['день', 'дня', 'дней'] | |
| if n % 10 == 1 and n % 100 != 11: | |
| p = 0 | |
| elif 2 <= n % 10 <= 4 and (n % 100 < 10 or n % 100 >= 20): | |
| p = 1 | |
| else: | |
| p = 2 |


