diff --git a/kaybot.py b/kaybot.py index 453298e..1d4ecc4 100755 --- a/kaybot.py +++ b/kaybot.py @@ -19,7 +19,7 @@ def ping(notif, *_): pastas = {p.stem: p.read_text() for p in Path('pasta').glob('*.txt')} @bot.command -def pasta(notif, pasta_name=''): +def pasta(notif, pasta_name='', *_): """Pulls up a copypasta. Run with no arguments to get a list of available copypastas.""" if not pasta_name: pleroma.status_reply(notif['status'], f'Available copypasta: {", ".join(pastas)}')