request limiter

This commit is contained in:
Owen
2024-12-15 22:34:59 +01:00
parent 7cf2e79c3e
commit 81c95c28b2
12 changed files with 177 additions and 48 deletions
+4
View File
@@ -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