Skip to content

Commit

Permalink
fix(rss): should not be usable in DM
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRunner committed Feb 8, 2024
1 parent e65dc95 commit 8c7ddf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fcts/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ async def last_post_web(self, ctx: MyContext, link: str):


@commands.hybrid_group(name="rss")
@app_commands.guild_only()
@app_commands.default_permissions(manage_guild=True)
@commands.cooldown(2, 15, commands.BucketType.channel)
async def rss_main(self, ctx: MyContext):
Expand Down

0 comments on commit 8c7ddf0

Please sign in to comment.