Files
mememan/src/commands/command.py
2023-04-08 00:35:31 +01:00

21 lines
564 B
Python

import discord
class Command():
def __init__(self):
# Useful boilerplate
# You should overwrite these values!
self.name = 'command' # 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