21 lines
582 B
Python
21 lines
582 B
Python
import discord
|
|
|
|
class Command():
|
|
def __init__(self):
|
|
# Useful boilerplate
|
|
# You should overwrite these values!
|
|
|
|
self.name = "command" # Lower case and no spaces please :)
|
|
self.display_name = "Command"
|
|
self.description = "command description"
|
|
self.triggers = ["command"]
|
|
|
|
self.hidden = False
|
|
|
|
# {} will be .formatted to be the command prefix
|
|
self.usage = "{}command"
|
|
|
|
async def run(self, bot: discord.Client, config: dict, message: discord.message, content: str):
|
|
# Implement this!
|
|
pass
|