change: .qimport will is no longer owner only on the public bot

dev: Creds issues should now be properly caught and logged, instead of showing unhandled exceptions
This commit is contained in:
Kwoth
2024-09-10 20:26:33 +00:00
parent fb62df7aa2
commit 28ad6db2de
3 changed files with 12 additions and 12 deletions

View File

@@ -402,6 +402,7 @@ public partial class NadekoExpressions : NadekoModule<NadekoExpressionsService>
}
[Cmd]
[Ratelimit(300)]
public async Task ExprsImport([Leftover] string input = null)
{
// todo cooldown on public bot for 1 day, limit 100

View File

@@ -351,9 +351,6 @@ public partial class Utility
[RequireContext(ContextType.Guild)]
[UserPerm(GuildPerm.Administrator)]
[Ratelimit(300)]
#if GLOBAL_NADEKO
[OwnerOnly]
#endif
public async Task QuotesImport([Leftover] string? input = null)
{
input = input?.Trim();