diff --git a/.gitignore b/.gitignore index 45785ed..cd7526e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ config.py __pycache__ venv domains.txt +geckodriver.log diff --git a/.idea/misc.xml b/.idea/misc.xml index 1d7b4a8..5fe7701 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/Dev_Bot.xml b/.idea/runConfigurations/Dev_Bot.xml new file mode 100644 index 0000000..7b290c6 --- /dev/null +++ b/.idea/runConfigurations/Dev_Bot.xml @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/.idea/the-hi5-group.iml b/.idea/the-hi5-group.iml index 74d515a..380e798 100644 --- a/.idea/the-hi5-group.iml +++ b/.idea/the-hi5-group.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/utils/__init__.py b/utils/__init__.py index 3f6ff12..1d96f42 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -55,4 +55,5 @@ def owner_or_admin(): if ctx.author.guild_permissions.administrator or await ctx.bot.is_owner(ctx.author): return True raise commands.MissingPermissions(["administrator"]) + return commands.check(predicate)