Adding commands have to be done with functions? Also add a run.sh script

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/chen/trunk@32 32723744-9b23-0b4a-b1da-9b2e968f9461
This commit is contained in:
yakumo.izuru 2024-02-21 22:07:27 +00:00
parent ac0e95ed44
commit 2ab74a4fff
2 changed files with 4 additions and 2 deletions

View File

@ -149,8 +149,6 @@ class ChenBot(ClientXMPP):
return
if "#nospoil" in body:
return
if "!repo" in body:
msg.reply("https://git.chaotic.ninja/usr/yakumo_izuru/chen\n").send()
for u in urls:
if u in self.messages[sender]["links"]:
continue

4
run.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# $TheSupernovaDuo$
echo "Starting bot..."
python-3.9 main.py 2>chen.log