Skip to content

Commit 4d35f3e

Browse files
committed
Switch to using message() for horoscope.py to avoid spam
1 parent d04e409 commit 4d35f3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/horoscope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
@hook.command(autohelp=False)
19-
def horoscope(text, db, bot, nick, notice, notice_doc, reply):
19+
def horoscope(text, db, bot, nick, notice, notice_doc, reply, message):
2020
"""[sign] - get your horoscope"""
2121
signs = {
2222
'aries': '1',
@@ -77,4 +77,4 @@ def horoscope(text, db, bot, nick, notice, notice_doc, reply):
7777
{'nick': nick.lower(), 'sign': sign})
7878
db.commit()
7979

80-
return result
80+
message(result)

0 commit comments

Comments
 (0)