Commands split up into single files and included first methods

This commit is contained in:
s-prechtl 2021-10-22 16:30:47 +02:00
parent 5c2ff27656
commit ef19e6659e
9 changed files with 93 additions and 29 deletions

24
APICommands/F2PCommand.py Normal file
View file

@ -0,0 +1,24 @@
from abc import ABC
import discord
import riotwatcher
import APICommands.Command
class Free2Play(APICommands.Command.Command, ABC):
keywords = ["f2p", "rotation", "F2P", "ROTATION"]
def __init__(self, pref, api: riotwatcher.LolWatcher, additionalKeywords=None):
if additionalKeywords is None:
additionalKeywords = []
super().__init__(pref, api, additionalKeywords)
async def execute(self, message: discord.Message):
pass
async def info(self, message: discord.Message):
pass
async def usage(self, message: discord.Message):
pass