Fixed grammatical mistake in allowlist_add. (#4748)

Changed:

            await ctx.send(_("Users has been added to the allowlist."))

to:

            await ctx.send(_("Users have been added to the allowlist."))
This commit is contained in:
Fabian H 2021-01-22 18:25:46 +01:00 committed by GitHub
parent cc885090e6
commit e23d21ec08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2792,7 +2792,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
uids = {getattr(user, "id", user) for user in users} uids = {getattr(user, "id", user) for user in users}
await self.bot._whiteblacklist_cache.add_to_whitelist(None, uids) await self.bot._whiteblacklist_cache.add_to_whitelist(None, uids)
if len(users) > 1: if len(users) > 1:
await ctx.send(_("Users has been added to the allowlist.")) await ctx.send(_("Users have been added to the allowlist."))
else: else:
await ctx.send(_("User has been added to the allowlist.")) await ctx.send(_("User has been added to the allowlist."))