mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
xxx
This commit is contained in:
@@ -32,6 +32,7 @@ class AdministrationModule(commands.Cog):
|
||||
description="Jeśli nie wiesz jak użyć tej komendy to nawet nie próbuj",
|
||||
guild=discord.Object(id=664789470779932693),
|
||||
)
|
||||
@commands.has_any_role('Nocna Zmiana', 'Jarl', 'Thane')
|
||||
async def galeria_slaw(self, ctx):
|
||||
if isinstance(ctx.channel, discord.DMChannel):
|
||||
for guild in self.bot.guilds:
|
||||
@@ -51,6 +52,8 @@ class AdministrationModule(commands.Cog):
|
||||
description="Jeśli nie wiesz jak użyć tej komendy to nawet nie próbuj",
|
||||
guild=discord.Object(id=664789470779932693),
|
||||
)
|
||||
@commands.has_any_role('Jarl', 'Thane')
|
||||
|
||||
async def update_banlist(self, ctx):
|
||||
"""
|
||||
Update a banlist in a Discord guild from preprovided list in channel.
|
||||
@@ -135,6 +138,12 @@ class AdministrationModule(commands.Cog):
|
||||
f"Nie mam na serwerze {guild} uprawnień do banowania. :()"
|
||||
)
|
||||
await ctx.send("Zrobione tak czy inaczej")
|
||||
@commands.hybrid_command(
|
||||
name="archive_channel",
|
||||
description="Jeśli nie wiesz jak użyć tej komendy to nawet nie próbuj",
|
||||
guild=discord.Object(id=664789470779932693),
|
||||
)
|
||||
@commands.has_any_role('Jarl', 'Thane')
|
||||
|
||||
async def archive_channel(self, channel_no):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user