mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Streams] Limited two [p]streamset commands to DMs
This commit is contained in:
parent
919bb01128
commit
36489f0701
@ -250,7 +250,7 @@ class Streams:
|
||||
dataIO.save_json("data/streams/settings.json", self.settings)
|
||||
await self.bot.say('Twitch Client-ID set.')
|
||||
|
||||
@streamset.command(pass_context=True)
|
||||
@streamset.command(pass_context=True, no_pm=True)
|
||||
@checks.admin()
|
||||
async def mention(self, ctx, *, mention_type : str):
|
||||
"""Sets mentions for stream alerts
|
||||
@ -271,7 +271,7 @@ class Streams:
|
||||
|
||||
dataIO.save_json("data/streams/settings.json", self.settings)
|
||||
|
||||
@streamset.command(pass_context=True)
|
||||
@streamset.command(pass_context=True, no_pm=True)
|
||||
@checks.admin()
|
||||
async def autodelete(self, ctx):
|
||||
"""Toggles automatic notification deletion for streams that go offline"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user