Leaverset channel description
This commit is contained in:
parent
3389fe2b0f
commit
9b266c18be
@ -28,6 +28,7 @@ class Leaver(Cog):
|
|||||||
|
|
||||||
@leaverset.command()
|
@leaverset.command()
|
||||||
async def channel(self, ctx: Context):
|
async def channel(self, ctx: Context):
|
||||||
|
"""Choose the channel to send leave messages to"""
|
||||||
guild = ctx.guild
|
guild = ctx.guild
|
||||||
await self.config.guild(guild).channel.set(ctx.channel.id)
|
await self.config.guild(guild).channel.set(ctx.channel.id)
|
||||||
await ctx.send("Channel set to " + ctx.channel.name)
|
await ctx.send("Channel set to " + ctx.channel.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user