Skip to content

Commit af8761d

Browse files
committed
say the line
1 parent f1b410c commit af8761d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dozer/cogs/moderation.py

+14
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,20 @@ async def linkscrubconfig(self, ctx: DozerContext, *, link_role: SafeRoleConvert
984984
`{prefix}linkscrubconfig @/everyone` - set the default role as the link role (ping-safe)
985985
"""
986986

987+
@command()
988+
@has_permissions(manage_messages=True)
989+
@bot_has_permissions(send_messages=True)
990+
async def say_the_line(self, ctx: DozerContext, user: discord.User):
991+
"""
992+
Says the line.
993+
"Welcome to the server! Please set your team affiliation in your nickname."
994+
"""
995+
await ctx.send(f"Welcome to the server {user.mention}! Please set your team affiliation in your nickname.")
996+
997+
say_the_line.example_usage = """
998+
`{prefix}say_the_line @tweirtx` - Says the line mentioning @tweirtx
999+
"""
1000+
9871001
@group(invoke_without_command=True)
9881002
@has_permissions(manage_messages=True)
9891003
async def crossbans(self, ctx: DozerContext):

0 commit comments

Comments
 (0)