We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3361d9 commit 30564a8Copy full SHA for 30564a8
bot.py
@@ -22,7 +22,7 @@
22
SOFTWARE.
23
'''
24
25
-__version__ = '1.3.4'
+__version__ = '1.3.5'
26
27
import discord
28
from discord.ext import commands
@@ -325,8 +325,12 @@ async def about(self, ctx):
325
326
327
@commands.command()
328
- @commands.has_permissions(administrator=True)
329
async def update(self, ctx):
+ allowed = [int(x) for x in self.config.get('OWNERS', '').split(',')]
330
+
331
+ if ctx.author.id not in allowed:
332
+ return
333
334
await ctx.trigger_typing()
335
336
async with self.session.get('https://api.kybr.tk/modmail') as resp:
0 commit comments