Add initial code

This commit is contained in:
James H
2021-11-29 23:13:52 +00:00
parent cffc46bd45
commit 0f3416c11b
8 changed files with 200 additions and 0 deletions

20
src/commands/command.py Normal file
View File

@@ -0,0 +1,20 @@
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