mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
fetch ratelimiter metrics
This commit is contained in:
@@ -67,4 +67,9 @@ defmodule PlantIdDiscordBot.RateLimiter do
|
||||
:ets.delete_all_objects(__MODULE__)
|
||||
Logger.debug("Reset all guilds counters")
|
||||
end
|
||||
|
||||
@spec to_list() :: list()
|
||||
def to_list() do
|
||||
:ets.tab2list(__MODULE__)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user