ban command
This commit is contained in:
parent
3aa4595aa9
commit
06f60e29e5
3 changed files with 17 additions and 2 deletions
11
cogs/mod.py
Normal file
11
cogs/mod.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue