from discord.ext import commands import discord from main import Vaius class Mod(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command() async def ban(self, ctx: commands.Context, user: discord.User): await ctx.channel.remove_recipients(user)