First commit for pi command
This commit is contained in:
parent
08715fb457
commit
e18c54baee
18
modules/pi.py
Normal file
18
modules/pi.py
Normal 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
1
modules/pi/pi1.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user