Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 595 Bytes

File metadata and controls

28 lines (16 loc) · 595 Bytes

About $unloadCog

This command helps with unloading a specific cog

Location of Code

The code that implements the above mentioned functionality is located here.

Code Description

Functions

  1. def load(self,ctx,extension):

    This function helps with unloading a cog

Inputs:

  • ctx: used to access the values passed through the current context
  • extension: name of the cog that is to be removed

Outputs:

  • response from bot

How to run it? (Small Example)

Only user with Admin permissions can run this command. This is handled by the bot.