add has_role and MissingRole from discord.ext.commands

This commit is contained in:
deflax 2025-02-05 22:35:37 +00:00
parent c00c4dedff
commit 246de32ee9

View file

@ -3,7 +3,7 @@ import os
from datetime import datetime, timezone from datetime import datetime, timezone
import requests import requests
import discord 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 from apscheduler.schedulers.asyncio import AsyncIOScheduler
import logging import logging