ban command

This commit is contained in:
nin0 2025-05-04 19:18:08 -04:00
parent 3aa4595aa9
commit 06f60e29e5
Signed by: nin0
SSH key fingerprint: SHA256:NOoDnFVvZNFvqfXCIhzr6oCTDImZAbTTuyAysZ8Ufk8
3 changed files with 17 additions and 2 deletions

11
cogs/mod.py Normal file
View file

@ -0,0 +1,11 @@
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)