A Zwei, wow
Project description
# Zwei
The deployable discord bot
## Why
why not
## Instructions
None yet!
## Cog making instructions
```python
from pathlib import Path
from discord.ext import commands
class CogName:
def __init__(self, bot:commands.Bot, datadir:Path, **kwargs):
self.bot = bot
self.datadir = datadir # your bot-nominated data directory
...
@commands.command()
def hello(self): #currently same as discord.py
self.bot.say("Hi!")
def setup(bot:commands.Bot, datadir:Path, **kwargs): # kwargs here for future compatibility
return CogName(bot, datadir, **kwargs)
```
The deployable discord bot
## Why
why not
## Instructions
None yet!
## Cog making instructions
```python
from pathlib import Path
from discord.ext import commands
class CogName:
def __init__(self, bot:commands.Bot, datadir:Path, **kwargs):
self.bot = bot
self.datadir = datadir # your bot-nominated data directory
...
@commands.command()
def hello(self): #currently same as discord.py
self.bot.say("Hi!")
def setup(bot:commands.Bot, datadir:Path, **kwargs): # kwargs here for future compatibility
return CogName(bot, datadir, **kwargs)
```