mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
request limiter
This commit is contained in:
@@ -12,4 +12,8 @@ defmodule PlantIdDiscordBot.Utils do
|
||||
|> to_string()
|
||||
|> Kernel.<>("ms")
|
||||
end
|
||||
|
||||
def get_guilds_names() do
|
||||
Nostrum.Cache.GuildCache.fold([], fn %{name: name}, acc -> [name | acc] end)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user