Skip to content
Snippets Groups Projects
Commit 356c69e0 authored by Reviath's avatar Reviath
Browse files

Update commands/unload_command.py

parent 76e88b5b
Branches
Tags
No related merge requests found
import discord
from discord.ext import commands
@commands.command(brief="Author command", description="Author command", hidden=True)
@commands.is_owner()
async def unload_command(ctx, extension):
client.unload_extension(f'commands.{extension}')
await ctx.send(f'Unloaded commands.{extension}.')
def setup(client):
client.add_command(unload_command)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment