Skip to content

Commit

Permalink
say the line
Browse files Browse the repository at this point in the history
  • Loading branch information
tweirtx committed Jul 15, 2024
1 parent f1b410c commit af8761d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dozer/cogs/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,20 @@ async def linkscrubconfig(self, ctx: DozerContext, *, link_role: SafeRoleConvert
`{prefix}linkscrubconfig @/everyone` - set the default role as the link role (ping-safe)
"""

@command()
@has_permissions(manage_messages=True)
@bot_has_permissions(send_messages=True)
async def say_the_line(self, ctx: DozerContext, user: discord.User):
"""
Says the line.
"Welcome to the server! Please set your team affiliation in your nickname."
"""
await ctx.send(f"Welcome to the server {user.mention}! Please set your team affiliation in your nickname.")

say_the_line.example_usage = """
`{prefix}say_the_line @tweirtx` - Says the line mentioning @tweirtx
"""

@group(invoke_without_command=True)
@has_permissions(manage_messages=True)
async def crossbans(self, ctx: DozerContext):
Expand Down

0 comments on commit af8761d

Please sign in to comment.