diff options
author | 2025-04-15 22:42:38 +0100 | |
---|---|---|
committer | 2025-04-15 22:42:38 +0100 | |
commit | acb0bc4da42b2abdeb8528cb41b97f6be65887eb (patch) | |
tree | 049681016b46babb35ab64f56c2cce5c87eae100 | |
parent | Add numbers command to run a tts (diff) |
Await async functions
-rw-r--r-- | arthur/exts/fun/numbers.py | 2 | ||||
-rw-r--r-- | arthur/exts/fun/remote_command_runner.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/fun/numbers.py b/arthur/exts/fun/numbers.py index 90c0551..906aaf7 100644 --- a/arthur/exts/fun/numbers.py +++ b/arthur/exts/fun/numbers.py @@ -65,7 +65,7 @@ class Numbers(commands.GroupCog): if not ctx.guild or not ctx.guild.voice_client: return - if not ctx.bot.is_owner(ctx.author): + if not await ctx.bot.is_owner(ctx.author): await ctx.message.add_reaction("❌") return diff --git a/arthur/exts/fun/remote_command_runner.py b/arthur/exts/fun/remote_command_runner.py index cb6bd6d..55b8025 100644 --- a/arthur/exts/fun/remote_command_runner.py +++ b/arthur/exts/fun/remote_command_runner.py @@ -15,7 +15,7 @@ class RemoteCommands(Cog): """Ed is the standard text editor.""" if not ctx.guild: return - if not ctx.bot.is_owner(ctx.author): + if not await ctx.bot.is_owner(ctx.author): await ctx.message.add_reaction("❌") return |