Commands split up into single files and included first methods
This commit is contained in:
parent
5c2ff27656
commit
ef19e6659e
9 changed files with 93 additions and 29 deletions
24
APICommands/SummonerRankCommand.py
Normal file
24
APICommands/SummonerRankCommand.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
from abc import ABC
|
||||
|
||||
import discord
|
||||
import riotwatcher
|
||||
|
||||
import APICommands.Command
|
||||
|
||||
|
||||
class SummonerRank(APICommands.Command.Command, ABC):
|
||||
keywords = ["rank", "Rank", "RANK"]
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue