Reformat with black and move console.py

This commit is contained in:
Dpeta 2023-01-14 22:52:30 +01:00
parent bc4af153af
commit 7e1b096be5
No known key found for this signature in database
GPG key ID: 51227517CEA0030C
5 changed files with 12 additions and 6 deletions

View file

@ -115,22 +115,28 @@ def identify(cli, passwd, authuser="NickServ"):
def quit(cli, msg):
cli.send("QUIT %s" % (msg))
def nick(cli, nick):
cli.send(f"NICK", nick)
def user(cli, username, realname):
cli.send("USER", username, "0", "*", ":" + realname)
def join(cli, channel):
"""Protocol potentially allows multiple channels or keys."""
cli.send("JOIN", channel)
def part(cli, channel):
cli.send("PART", channel)
def notice(cli, target, text):
cli.send("NOTICE", target, text)
def invite(cli, nick, channel):
cli.send("INVITE", nick, channel)

View file

@ -850,7 +850,7 @@ class PesterProfileDB(dict):
handle,
color=QtGui.QColor(c["color"]),
mood=Mood(c["mood"]),
**options
**options,
),
)
)