generated from PDBA/module-template
Initial commit
This commit is contained in:
parent
70da7493b8
commit
1e4962f2ba
1
.gitignore
vendored
1
.gitignore
vendored
@ -129,3 +129,4 @@ dmypy.json
|
|||||||
# Pyre type checker
|
# Pyre type checker
|
||||||
.pyre/
|
.pyre/
|
||||||
|
|
||||||
|
.idea/
|
||||||
|
12
__init__.py
12
__init__.py
@ -1,5 +1,9 @@
|
|||||||
class REPO_NAME_PASCAL:
|
from mod_commands import BaseCommand
|
||||||
def __dispatch__(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
__main_class__ = REPO_NAME_PASCAL
|
|
||||||
|
class Ping(BaseCommand):
|
||||||
|
async def command(self, message, args, kwargs):
|
||||||
|
await message.channel.send(f"Pong {round(self.client.latency, 3)}s!")
|
||||||
|
|
||||||
|
|
||||||
|
__main_class__ = Ping
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name = "REPO_NAME_TITLE"
|
name = "Ping"
|
||||||
description = ""
|
description = "Ping module"
|
||||||
|
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
bot_version = "~=0.1.0"
|
bot_version = "~=0.1.0"
|
||||||
@ -7,3 +7,4 @@ bot_version = "~=0.1.0"
|
|||||||
metamodule = false
|
metamodule = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
mod_commands = "~=0.1.0"
|
Loading…
Reference in New Issue
Block a user