Merge branch 'master' into scraper_functions

Merged master,resolved conflicts
This commit is contained in:
texhno 2024-02-06 02:22:44 +01:00
commit 9c76ea38ce
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ def processmsg(msg, rcpt):
return msg.replace("youtube.com", "iv.datura.network")
elif msg.startswith("!wiki"):
return sf.query_external_website("https://en.wikipedia.org/wiki/", msg.split(" ")[1])
elif "good bot" in msg:
return "^_^"
def command(msg, rcpt):
if msg.startswith("!help"):