First commit for pi command

This commit is contained in:
louis chauvet 2018-08-28 18:06:29 +02:00
parent 08715fb457
commit e18c54baee
2 changed files with 19 additions and 0 deletions

18
modules/pi.py Normal file
View File

@ -0,0 +1,18 @@
class MainClass:
name = "pi"
def __init__(self, guild):
self.guild = guild
async def pi(self, msg, command, args):
pass
async def pi_search(self, msg, command, args):
pass
async def on_message(self, msg):
if msg.content.startswith(self.guild.config["prefix"]):
command, *args = msg.content.lstrip(self.guild.config["prefix"]).split(" ")
if command == "pi":
self.pi(msg, command, args)
return

1
modules/pi/pi1.txt Normal file

File diff suppressed because one or more lines are too long