You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cogs/fire.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
fromsqlalchemyimportdelete, select, update
9
9
10
10
importmodels
11
+
fromutils.miscfuncsimportgeneric_checks
11
12
12
13
bank="./data/database.sqlite"
13
14
@@ -153,6 +154,7 @@ async def on_ready(self):
153
154
print("Fire ready")
154
155
155
156
@commands.hybrid_command()
157
+
@generic_checks(max_check=False)
156
158
asyncdefhowtofire(self, ctx):
157
159
awaitctx.send(
158
160
"Create a channel named #fireboard, give me permission to talk there, and then I will automatically post messages with 5 :fire: reactions. Also, once a week I'll list the most fired messages."
0 commit comments