Initial commit

This commit is contained in:
Louis Chauvet 2020-04-27 18:41:16 +02:00
parent 70da7493b8
commit 1e4962f2ba
Signed by: fomys
GPG Key ID: 1ECA046A9615ABA0
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@ -129,3 +129,4 @@ dmypy.json
# Pyre type checker # Pyre type checker
.pyre/ .pyre/
.idea/

View File

@ -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

View File

@ -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"