We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6555bfb commit 9f0e7c6Copy full SHA for 9f0e7c6
plugins/cloud/commands.py
@@ -328,6 +328,8 @@ async def cloud_bans(self):
328
await guild.ban(user, reason='DGSA: ' + reason)
329
except aiohttp.ClientError:
330
self.log.warning("Cloud service unavailable.")
331
+ except discord.Forbidden:
332
+ self.log.error('DCSServerBot needs the "Ban Members" permission.')
333
334
@cloud_bans.before_loop
335
async def before_cloud_bans(self):
0 commit comments