Small update of the syntax for update.py

This commit is contained in:
Fotoente 2022-07-23 11:54:09 +02:00
parent 1df0326c65
commit 90f8d0dce6
2 changed files with 3 additions and 2 deletions

View file

@ -24,6 +24,7 @@ except (TypeError, ValueError, roboduck.configparser.NoOptionError):
if not check_multi_arg(url, token):
raise Exception("Misskey instance and token are required.")
class MyBot(commands.Bot):
def __init__(self):

View file

@ -1,3 +1,3 @@
from roboduck import *
import roboduck
update()
roboduck.update()