From 246de32ee927f1b4209cea00a4e12ded0b5afd00 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 5 Feb 2025 22:35:37 +0000 Subject: [PATCH] add has_role and MissingRole from discord.ext.commands --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 9958f40..8bcd16b 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -3,7 +3,7 @@ import os from datetime import datetime, timezone import requests import discord -from discord.ext.commands import Bot, has_permissions, CheckFailure +from discord.ext.commands import Bot, has_permissions, CheckFailure, has_role, MissingRole from apscheduler.schedulers.asyncio import AsyncIOScheduler import logging