From ee9acbcb67ccabc18a2f904790201fd32a348d31 Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Tue, 28 Oct 2025 13:20:11 -0400 Subject: [PATCH] make it a bit less of an ass --- dee.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dee.py b/dee.py index 865960fd30c98388afc98fde5168183b3cb089e4..90ffd94924589250127565c32824f6dc706ebcd1 100755 --- a/dee.py +++ b/dee.py @@ -7,6 +7,7 @@ import re from copy import copy NAME = "dee" +MAN = 'https://aleteoryx.me/deeman.md' ### "AI" ### @@ -19,12 +20,13 @@ def act(what): botlib.send(f'{NAME} {msg}') def help(nick): - send(f'{nick}, my help is at https://aleteoryx.me/deeman.md') + global MAN + send(f'{nick}, my help is at {MAN}') last_cmd = ('dee, roll d6', ['dee,', 'roll', 'd6'], ['dee', 'roll', 'd6']) def handle_msg(nick, line, words, pwords): - global NAME, last_cmd + global NAME, MAN, last_cmd print(nick, line, words, pwords) og_data = copy(line), copy(words), copy(pwords) @@ -53,7 +55,7 @@ def handle_msg(nick, line, words, pwords): elif cmd in ('shuf', 'shuffle'): shuf(nick, words, pwords) else: - send(f'{nick}, I would, if I knew how!') + send(f'{nick}, I don\'t know how to do that! My help is at {MAN}') def handle_action(line, words, pwords): pass