From 1c328fa90c42030c87e62310c39cf39731ac1ecd Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Mon, 29 Apr 2024 19:10:23 +1000 Subject: [PATCH] feat: add SupportedLocales function --- lang.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang.go b/lang.go index fe678e5..f260d0f 100644 --- a/lang.go +++ b/lang.go @@ -65,6 +65,10 @@ func LoadLocales() error { return nil } +func SupportedLocales() []discordgo.Locale { + return supportedLocales +} + func Bundle() *i18n.Bundle { return bundle }