@@ -100,10 +100,10 @@ async def setup(self, ctx):
100
100
)
101
101
102
102
embed .add_field (
103
- name = "Thanks for using the bot!" ,
103
+ name = "Thanks for using our bot!" ,
104
104
value = "If you like what you see, consider giving the "
105
- "[repo a star](https://github.com/kyb3r/modmail) :star: or if you are "
106
- "feeling generous, check us out on [Patreon](https://patreon.com/kyber)!" ,
105
+ "[repo a star](https://github.com/kyb3r/modmail) :star: and if you are "
106
+ "feeling extra generous, buy us coffee on [Patreon](https://patreon.com/kyber) :heart: !" ,
107
107
)
108
108
109
109
embed .set_footer (text = f'Type "{ self .bot .prefix } help" for a complete list of commands.' )
@@ -115,8 +115,8 @@ async def setup(self, ctx):
115
115
await self .bot .config .update ()
116
116
await ctx .send (
117
117
"**Successfully set up server.**\n "
118
- "Consider setting permission levels "
119
- "to give access to roles or users the ability to use Modmail.\n \n "
118
+ "Consider setting permission levels to give access to roles "
119
+ "or users the ability to use Modmail.\n \n "
120
120
f"Type:\n - `{ self .bot .prefix } permissions` and `{ self .bot .prefix } permissions add` "
121
121
"for more info on setting permissions.\n "
122
122
f"- `{ self .bot .prefix } config help` for a list of available customizations."
@@ -162,7 +162,7 @@ async def snippet(self, ctx, *, name: str.lower = None):
162
162
embed = discord .Embed (
163
163
color = self .bot .error_color , description = "You dont have any snippets at the moment."
164
164
)
165
- embed .set_footer (text = f"Do { self .bot .prefix } help snippet for more commands." )
165
+ embed .set_footer (text = f'Check " { self .bot .prefix } help snippet" to add a snippet.' )
166
166
embed .set_author (name = "Snippets" , icon_url = ctx .guild .icon_url )
167
167
return await ctx .send (embed = embed )
168
168
@@ -211,7 +211,7 @@ async def snippet_add(self, ctx, name: str.lower, *, value: commands.clean_conte
211
211
embed = discord .Embed (
212
212
title = "Error" ,
213
213
color = self .bot .error_color ,
214
- description = f"An alias with the same name already exists: `{ name } `." ,
214
+ description = f"An alias that shares the same name exists: `{ name } `." ,
215
215
)
216
216
return await ctx .send (embed = embed )
217
217
@@ -397,15 +397,15 @@ async def notify(
397
397
"""
398
398
Notify a user or role when the next thread message received.
399
399
400
- Once a thread message is received, `user_or_role` will only be pinged once.
400
+ Once a thread message is received, `user_or_role` will be pinged once.
401
401
402
402
Leave `user_or_role` empty to notify yourself.
403
403
`@here` and `@everyone` can be substituted with `here` and `everyone`.
404
404
`user_or_role` may be a user ID, mention, name. role ID, mention, name, "everyone", or "here".
405
405
"""
406
406
mention = self .parse_user_or_role (ctx , user_or_role )
407
407
if mention is None :
408
- raise commands .BadArgument (f"{ user_or_role } is not a valid role." )
408
+ raise commands .BadArgument (f"{ user_or_role } is not a valid user or role." )
409
409
410
410
thread = ctx .thread
411
411
@@ -482,7 +482,7 @@ async def subscribe(
482
482
"""
483
483
mention = self .parse_user_or_role (ctx , user_or_role )
484
484
if mention is None :
485
- raise commands .BadArgument (f"{ user_or_role } is not a valid role." )
485
+ raise commands .BadArgument (f"{ user_or_role } is not a valid user or role." )
486
486
487
487
thread = ctx .thread
488
488
@@ -539,7 +539,7 @@ async def unsubscribe(
539
539
await self .bot .config .update ()
540
540
embed = discord .Embed (
541
541
color = self .bot .main_color ,
542
- description = f"{ mention } is now unsubscribed to this thread." ,
542
+ description = f"{ mention } is now unsubscribed from this thread." ,
543
543
)
544
544
return await ctx .send (embed = embed )
545
545
@@ -649,7 +649,7 @@ async def logs(self, ctx, *, user: User = None):
649
649
)
650
650
return await ctx .send (embed = embed )
651
651
652
- logs = reversed ([e for e in logs if not e ["open" ]])
652
+ logs = reversed ([log for log in logs if not log ["open" ]])
653
653
654
654
embeds = self .format_log_embeds (logs , avatar_url = icon_url )
655
655
@@ -678,7 +678,7 @@ async def logs_closed_by(self, ctx, *, user: User = None):
678
678
if not embeds :
679
679
embed = discord .Embed (
680
680
color = self .bot .error_color ,
681
- description = "No log entries have been found for that query" ,
681
+ description = "No log entries have been found for that query. " ,
682
682
)
683
683
return await ctx .send (embed = embed )
684
684
@@ -838,8 +838,8 @@ async def edit(self, ctx, message_id: Optional[int] = None, *, message: str):
838
838
"""
839
839
Edit a message that was sent using the reply or anonreply command.
840
840
841
- If no `message_id` is provided, the
842
- last message sent by a staff will be edited.
841
+ If no `message_id` is provided,
842
+ the last message sent by a staff will be edited.
843
843
"""
844
844
thread = ctx .thread
845
845
@@ -1037,7 +1037,7 @@ async def block(self, ctx, user: Optional[User] = None, *, after: UserFriendlyTi
1037
1037
elif after is None :
1038
1038
raise commands .MissingRequiredArgument (SimpleNamespace (name = "user" ))
1039
1039
else :
1040
- raise commands .BadArgument (f'User "{ after .arg } " not found' )
1040
+ raise commands .BadArgument (f'User "{ after .arg } " not found. ' )
1041
1041
1042
1042
mention = getattr (user , "mention" , f"`{ user .id } `" )
1043
1043
@@ -1069,8 +1069,8 @@ async def block(self, ctx, user: Optional[User] = None, *, after: UserFriendlyTi
1069
1069
old_reason = msg .strip ().rstrip ("." )
1070
1070
embed = discord .Embed (
1071
1071
title = "Success" ,
1072
- description = f"{ mention } was previously blocked "
1073
- f"{ old_reason } . \n { mention } is now blocked { reason } " ,
1072
+ description = f"{ mention } was previously blocked { old_reason } . \n "
1073
+ f"{ mention } is now blocked { reason } " ,
1074
1074
color = self .bot .main_color ,
1075
1075
)
1076
1076
else :
@@ -1116,14 +1116,14 @@ async def unblock(self, ctx, *, user: User = None):
1116
1116
reason = msg [16 :].strip ().rstrip ("." ) or "no reason"
1117
1117
embed = discord .Embed (
1118
1118
title = "Success" ,
1119
- description = f"{ mention } was previously blocked internally "
1120
- f"{ reason } . \n { mention } is no longer blocked." ,
1119
+ description = f"{ mention } was previously blocked internally { reason } . \n "
1120
+ f"{ mention } is no longer blocked." ,
1121
1121
color = self .bot .main_color ,
1122
1122
)
1123
1123
embed .set_footer (
1124
1124
text = "However, if the original system block reason still applies, "
1125
- f"{ name } will be automatically blocked again. Use "
1126
- f'"{ self .bot .prefix } blocked whitelist { user .id } " to whitelist the user.'
1125
+ f"{ name } will be automatically blocked again. "
1126
+ f'Use "{ self .bot .prefix } blocked whitelist { user .id } " to whitelist the user.'
1127
1127
)
1128
1128
else :
1129
1129
embed = discord .Embed (
@@ -1156,7 +1156,7 @@ async def delete(self, ctx, message_id: Optional[int] = None):
1156
1156
try :
1157
1157
message_id = int (message_id )
1158
1158
except ValueError :
1159
- raise commands .BadArgument ("An integer message ID needs to be specified." )
1159
+ raise commands .BadArgument ("A message ID needs to be specified." )
1160
1160
1161
1161
linked_message_id = await self .find_linked_message (ctx , message_id )
1162
1162
0 commit comments