From c37d07b700c8564c49116b52db32cd8c730312b2 Mon Sep 17 00:00:00 2001 From: brandons209 Date: Sat, 1 Feb 2020 22:45:15 -0500 Subject: [PATCH] add moreadmin cog, remove old admincustom, dm msgs on roles and fixes --- admincustom/__init__.py | 5 - admincustom/admin.py | 385 ------------------- admincustom/announcer.py | 72 ---- admincustom/converters.py | 35 -- admincustom/locales/ar-SA.po | 186 ---------- admincustom/locales/bg-BG.po | 186 ---------- admincustom/locales/cs-CZ.po | 186 ---------- admincustom/locales/da-DK.po | 186 ---------- admincustom/locales/de-DE.po | 186 ---------- admincustom/locales/el-GR.po | 186 ---------- admincustom/locales/en-PT.po | 186 ---------- admincustom/locales/es-ES.po | 186 ---------- admincustom/locales/fi-FI.po | 186 ---------- admincustom/locales/fr-FR.po | 186 ---------- admincustom/locales/hu-HU.po | 186 ---------- admincustom/locales/id-ID.po | 186 ---------- admincustom/locales/it-IT.po | 186 ---------- admincustom/locales/ja-JP.po | 186 ---------- admincustom/locales/ko-KR.po | 186 ---------- admincustom/locales/lol-US.po | 186 ---------- admincustom/locales/nl-NL.po | 186 ---------- admincustom/locales/no-NO.po | 186 ---------- admincustom/locales/pl-PL.po | 186 ---------- admincustom/locales/pt-BR.po | 186 ---------- admincustom/locales/pt-PT.po | 186 ---------- admincustom/locales/ro-RO.po | 186 ---------- admincustom/locales/ru-RU.po | 186 ---------- admincustom/locales/sk-SK.po | 186 ---------- admincustom/locales/sv-SE.po | 186 ---------- admincustom/locales/tr-TR.po | 186 ---------- admincustom/locales/zh-CN.po | 186 ---------- admincustom/locales/zh-TW.po | 186 ---------- costmanager/manager.py | 3 +- moreadmin/__init__.py | 5 + moreadmin/info.json | 19 + moreadmin/moreadmin.py | 674 ++++++++++++++++++++++++++++++++++ moreadmin/utils.py | 64 ++++ rolemanagement/core.py | 43 +++ 38 files changed, 806 insertions(+), 5707 deletions(-) delete mode 100644 admincustom/__init__.py delete mode 100644 admincustom/admin.py delete mode 100644 admincustom/announcer.py delete mode 100644 admincustom/converters.py delete mode 100644 admincustom/locales/ar-SA.po delete mode 100644 admincustom/locales/bg-BG.po delete mode 100644 admincustom/locales/cs-CZ.po delete mode 100644 admincustom/locales/da-DK.po delete mode 100644 admincustom/locales/de-DE.po delete mode 100644 admincustom/locales/el-GR.po delete mode 100644 admincustom/locales/en-PT.po delete mode 100644 admincustom/locales/es-ES.po delete mode 100644 admincustom/locales/fi-FI.po delete mode 100644 admincustom/locales/fr-FR.po delete mode 100644 admincustom/locales/hu-HU.po delete mode 100644 admincustom/locales/id-ID.po delete mode 100644 admincustom/locales/it-IT.po delete mode 100644 admincustom/locales/ja-JP.po delete mode 100644 admincustom/locales/ko-KR.po delete mode 100644 admincustom/locales/lol-US.po delete mode 100644 admincustom/locales/nl-NL.po delete mode 100644 admincustom/locales/no-NO.po delete mode 100644 admincustom/locales/pl-PL.po delete mode 100644 admincustom/locales/pt-BR.po delete mode 100644 admincustom/locales/pt-PT.po delete mode 100644 admincustom/locales/ro-RO.po delete mode 100644 admincustom/locales/ru-RU.po delete mode 100644 admincustom/locales/sk-SK.po delete mode 100644 admincustom/locales/sv-SE.po delete mode 100644 admincustom/locales/tr-TR.po delete mode 100644 admincustom/locales/zh-CN.po delete mode 100644 admincustom/locales/zh-TW.po create mode 100644 moreadmin/__init__.py create mode 100644 moreadmin/info.json create mode 100644 moreadmin/moreadmin.py create mode 100644 moreadmin/utils.py diff --git a/admincustom/__init__.py b/admincustom/__init__.py deleted file mode 100644 index 8db8d79..0000000 --- a/admincustom/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from .admin import Admin - - -def setup(bot): - bot.add_cog(Admin()) diff --git a/admincustom/admin.py b/admincustom/admin.py deleted file mode 100644 index e6c7652..0000000 --- a/admincustom/admin.py +++ /dev/null @@ -1,385 +0,0 @@ -import logging -from typing import Tuple - -import discord - -from redbot.core import Config, checks, commands -from redbot.core.i18n import Translator, cog_i18n -from redbot.core.utils.chat_formatting import box -from .announcer import Announcer -from .converters import MemberDefaultAuthor, SelfRole - -log = logging.getLogger("red.admin") - -T_ = Translator("Admin", __file__) - -_ = lambda s: s -GENERIC_FORBIDDEN = _( - "I attempted to do something that Discord denied me permissions for." - " Your command failed to successfully complete." -) - -HIERARCHY_ISSUE = _( - "I tried to {verb} {role.name} to {member.display_name} but that role" - " is higher than my highest role in the Discord hierarchy so I was" - " unable to successfully add it. Please give me a higher role and " - "try again." -) - -USER_HIERARCHY_ISSUE = _( - "I tried to {verb} {role.name} to {member.display_name} but that role" - " is higher than your highest role in the Discord hierarchy so I was" - " unable to successfully add it. Please get a higher role and " - "try again." -) - -ROLE_USER_HIERARCHY_ISSUE = _( - "I tried to edit {role.name} but that role" - " is higher than your highest role in the Discord hierarchy so I was" - " unable to successfully add it. Please get a higher role and " - "try again." -) - -RUNNING_ANNOUNCEMENT = _( - "I am already announcing something. If you would like to make a" - " different announcement please use `{prefix}announce cancel`" - " first." -) -_ = T_ - - -@cog_i18n(_) -class Admin(commands.Cog): - """A collection of server administration utilities.""" - - def __init__(self, config=Config): - super().__init__() - self.conf = config.get_conf(self, 8237492837454039, force_registration=True) - - self.conf.register_global(serverlocked=False) - - self.conf.register_guild( - announce_ignore=False, announce_channel=None, selfroles=[], # Integer ID # List of integer ID's - ) - - self.__current_announcer = None - - def cog_unload(self): - try: - self.__current_announcer.cancel() - except AttributeError: - pass - - @staticmethod - async def complain(ctx: commands.Context, message: str, **kwargs): - await ctx.send(message.format(**kwargs)) - - def is_announcing(self) -> bool: - """ - Is the bot currently announcing something? - :return: - """ - if self.__current_announcer is None: - return False - - return self.__current_announcer.active or False - - @staticmethod - def pass_hierarchy_check(ctx: commands.Context, role: discord.Role) -> bool: - """ - Determines if the bot has a higher role than the given one. - :param ctx: - :param role: Role object. - :return: - """ - return ctx.guild.me.top_role > role - - @staticmethod - def pass_user_hierarchy_check(ctx: commands.Context, role: discord.Role) -> bool: - """ - Determines if a user is allowed to add/remove/edit the given role. - :param ctx: - :param role: - :return: - """ - return ctx.author.top_role > role - - async def _addrole(self, ctx: commands.Context, member: discord.Member, role: discord.Role): - try: - if role in member.roles: - await ctx.send("You already have that role.") - return - await member.add_roles(role) - except discord.Forbidden: - if not self.pass_hierarchy_check(ctx, role): - await self.complain(ctx, T_(HIERARCHY_ISSUE), role=role, member=member, verb=_("add")) - else: - await self.complain(ctx, T_(GENERIC_FORBIDDEN)) - else: - await ctx.send( - _("I successfully added {role.name} to {member.display_name}").format(role=role, member=member) - ) - - async def _removerole(self, ctx: commands.Context, member: discord.Member, role: discord.Role): - try: - if role not in member.roles: - await ctx.send("You don't have that role.") - return - await member.remove_roles(role) - except discord.Forbidden: - if not self.pass_hierarchy_check(ctx, role): - await self.complain(ctx, T_(HIERARCHY_ISSUE), role=role, member=member, verb=_("remove")) - else: - await self.complain(ctx, T_(GENERIC_FORBIDDEN)) - else: - await ctx.send( - _("I successfully removed {role.name} from {member.display_name}").format(role=role, member=member) - ) - - @commands.command() - @commands.guild_only() - @checks.admin_or_permissions(manage_roles=True) - async def addrole(self, ctx: commands.Context, rolename: discord.Role, *, user: MemberDefaultAuthor = None): - """Add a role to a user. - - If user is left blank it defaults to the author of the command. - """ - if user is None: - user = ctx.author - if self.pass_user_hierarchy_check(ctx, rolename): - # noinspection PyTypeChecker - await self._addrole(ctx, user, rolename) - else: - await self.complain(ctx, T_(USER_HIERARCHY_ISSUE), member=user, role=rolename, verb=_("add")) - - @commands.command() - @commands.guild_only() - @checks.admin_or_permissions(manage_roles=True) - async def removerole(self, ctx: commands.Context, rolename: discord.Role, *, user: MemberDefaultAuthor = None): - """Remove a role from a user. - - If user is left blank it defaults to the author of the command. - """ - if user is None: - user = ctx.author - if self.pass_user_hierarchy_check(ctx, rolename): - # noinspection PyTypeChecker - await self._removerole(ctx, user, rolename) - else: - await self.complain(ctx, T_(USER_HIERARCHY_ISSUE), member=user, role=rolename, verb=_("remove")) - - @commands.group() - @commands.guild_only() - @checks.admin_or_permissions(manage_roles=True) - async def editrole(self, ctx: commands.Context): - """Edit role settings.""" - pass - - @editrole.command(name="colour", aliases=["color"]) - async def editrole_colour(self, ctx: commands.Context, role: discord.Role, value: discord.Colour): - """Edit a role's colour. - - Use double quotes if the role contains spaces. - Colour must be in hexadecimal format. - [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp) - - Examples: - `[p]editrole colour "The Transistor" #ff0000` - `[p]editrole colour Test #ff9900` - """ - author = ctx.author - reason = "{}({}) changed the colour of role '{}'".format(author.name, author.id, role.name) - - if not self.pass_user_hierarchy_check(ctx, role): - await self.complain(ctx, T_(ROLE_USER_HIERARCHY_ISSUE), role=role) - return - - try: - await role.edit(reason=reason, color=value) - except discord.Forbidden: - await self.complain(ctx, T_(GENERIC_FORBIDDEN)) - else: - log.info(reason) - await ctx.send(_("Done.")) - - @editrole.command(name="name") - @checks.admin_or_permissions(administrator=True) - async def edit_role_name(self, ctx: commands.Context, role: discord.Role, *, name: str): - """Edit a role's name. - - Use double quotes if the role or the name contain spaces. - - Examples: - `[p]editrole name \"The Transistor\" Test` - """ - author = ctx.message.author - old_name = role.name - reason = "{}({}) changed the name of role '{}' to '{}'".format(author.name, author.id, old_name, name) - - if not self.pass_user_hierarchy_check(ctx, role): - await self.complain(ctx, T_(ROLE_USER_HIERARCHY_ISSUE), role=role) - return - - try: - await role.edit(reason=reason, name=name) - except discord.Forbidden: - await self.complain(ctx, T_(GENERIC_FORBIDDEN)) - else: - log.info(reason) - await ctx.send(_("Done.")) - - @commands.group(invoke_without_command=True) - @checks.is_owner() - async def announce(self, ctx: commands.Context, *, message: str): - """Announce a message to all servers the bot is in.""" - if not self.is_announcing(): - announcer = Announcer(ctx, message, config=self.conf) - announcer.start() - - self.__current_announcer = announcer - - await ctx.send(_("The announcement has begun.")) - else: - prefix = ctx.prefix - await self.complain(ctx, T_(RUNNING_ANNOUNCEMENT), prefix=prefix) - - @announce.command(name="cancel") - @checks.is_owner() - async def announce_cancel(self, ctx): - """Cancel a running announce.""" - try: - self.__current_announcer.cancel() - except AttributeError: - pass - - await ctx.send(_("The current announcement has been cancelled.")) - - @announce.command(name="channel") - @commands.guild_only() - @checks.guildowner_or_permissions(administrator=True) - async def announce_channel(self, ctx, *, channel: discord.TextChannel = None): - """Change the channel to which the bot makes announcements.""" - if channel is None: - channel = ctx.channel - await self.conf.guild(ctx.guild).announce_channel.set(channel.id) - - await ctx.send(_("The announcement channel has been set to {channel.mention}").format(channel=channel)) - - @announce.command(name="ignore") - @commands.guild_only() - @checks.guildowner_or_permissions(administrator=True) - async def announce_ignore(self, ctx): - """Toggle announcements being enabled this server.""" - ignored = await self.conf.guild(ctx.guild).announce_ignore() - await self.conf.guild(ctx.guild).announce_ignore.set(not ignored) - - if ignored: # Keeping original logic.... - await ctx.send(_("The server {guild.name} will receive announcements.").format(guild=ctx.guild)) - else: - await ctx.send(_("The server {guild.name} will not receive announcements.").format(guild=ctx.guild)) - - async def _valid_selfroles(self, guild: discord.Guild) -> Tuple[discord.Role]: - """ - Returns a list of valid selfroles - :param guild: - :return: - """ - selfrole_ids = set(await self.conf.guild(guild).selfroles()) - guild_roles = guild.roles - - valid_roles = tuple(r for r in guild_roles if r.id in selfrole_ids) - valid_role_ids = set(r.id for r in valid_roles) - - if selfrole_ids != valid_role_ids: - await self.conf.guild(guild).selfroles.set(list(valid_role_ids)) - - # noinspection PyTypeChecker - return valid_roles - - @commands.guild_only() - @commands.group(invoke_without_command=True) - async def selfrole(self, ctx: commands.Context, *, selfrole: SelfRole): - """Add a role to yourself. - - Server admins must have configured the role as user settable. - - NOTE: The role is case sensitive! - """ - # noinspection PyTypeChecker - await self._addrole(ctx, ctx.author, selfrole) - - @selfrole.command(name="remove") - async def selfrole_remove(self, ctx: commands.Context, *, selfrole: SelfRole): - """Remove a selfrole from yourself. - - NOTE: The role is case sensitive! - """ - # noinspection PyTypeChecker - await self._removerole(ctx, ctx.author, selfrole) - - @selfrole.command(name="add") - @checks.admin_or_permissions(manage_roles=True) - async def selfrole_add(self, ctx: commands.Context, *, role: discord.Role): - """Add a role to the list of available selfroles. - - NOTE: The role is case sensitive! - """ - async with self.conf.guild(ctx.guild).selfroles() as curr_selfroles: - if role.id not in curr_selfroles: - curr_selfroles.append(role.id) - - await ctx.send(_("The selfroles list has been successfully modified.")) - - @selfrole.command(name="delete") - @checks.admin_or_permissions(manage_roles=True) - async def selfrole_delete(self, ctx: commands.Context, *, role: SelfRole): - """Remove a role from the list of available selfroles. - - NOTE: The role is case sensitive! - """ - async with self.conf.guild(ctx.guild).selfroles() as curr_selfroles: - curr_selfroles.remove(role.id) - - await ctx.send(_("The selfroles list has been successfully modified.")) - - @selfrole.command(name="list") - async def selfrole_list(self, ctx: commands.Context): - """ - Lists all available selfroles. - """ - selfroles = await self._valid_selfroles(ctx.guild) - fmt_selfroles = "\n".join(["+ " + r.name for r in selfroles]) - - msg = _("Available Selfroles:\n{selfroles}").format(selfroles=fmt_selfroles) - await ctx.send(box(msg, "diff")) - - async def _serverlock_check(self, guild: discord.Guild) -> bool: - """ - Checks if serverlocked is enabled. - :param guild: - :return: True if locked and left server - """ - if await self.conf.serverlocked(): - await guild.leave() - return True - return False - - @commands.command() - @checks.is_owner() - async def serverlock(self, ctx: commands.Context): - """Lock a bot to its current servers only.""" - serverlocked = await self.conf.serverlocked() - await self.conf.serverlocked.set(not serverlocked) - - if serverlocked: - await ctx.send(_("The bot is no longer serverlocked.")) - else: - await ctx.send(_("The bot is now serverlocked.")) - - # region Event Handlers - async def on_guild_join(self, guild: discord.Guild): - if await self._serverlock_check(guild): - return - - -# endregion diff --git a/admincustom/announcer.py b/admincustom/announcer.py deleted file mode 100644 index 2b79bb1..0000000 --- a/admincustom/announcer.py +++ /dev/null @@ -1,72 +0,0 @@ -import asyncio - -import discord -from redbot.core import commands -from redbot.core.i18n import Translator - -_ = Translator("Announcer", __file__) - - -class Announcer: - def __init__(self, ctx: commands.Context, message: str, config=None): - """ - :param ctx: - :param message: - :param config: Used to determine channel overrides - """ - self.ctx = ctx - self.message = message - self.config = config - - self.active = None - - def start(self): - """ - Starts an announcement. - :return: - """ - if self.active is None: - self.active = True - self.ctx.bot.loop.create_task(self.announcer()) - - def cancel(self): - """ - Cancels a running announcement. - :return: - """ - self.active = False - - async def _get_announce_channel(self, guild: discord.Guild) -> discord.TextChannel: - channel_id = await self.config.guild(guild).announce_channel() - channel = None - - if channel_id is not None: - channel = guild.get_channel(channel_id) - - if channel is None: - channel = guild.system_channel - - if channel is None: - channel = guild.text_channels[0] - - return channel - - async def announcer(self): - guild_list = self.ctx.bot.guilds - bot_owner = (await self.ctx.bot.application_info()).owner - for g in guild_list: - if not self.active: - return - - if await self.config.guild(g).announce_ignore(): - continue - - channel = await self._get_announce_channel(g) - - try: - await channel.send(self.message) - except discord.Forbidden: - await bot_owner.send(_("I could not announce to server: {server.id}").format(server=g)) - await asyncio.sleep(0.5) - - self.active = False diff --git a/admincustom/converters.py b/admincustom/converters.py deleted file mode 100644 index 775e099..0000000 --- a/admincustom/converters.py +++ /dev/null @@ -1,35 +0,0 @@ -import discord -from redbot.core import commands -from redbot.core.i18n import Translator - -_ = Translator("AdminConverters", __file__) - - -class MemberDefaultAuthor(commands.Converter): - async def convert(self, ctx: commands.Context, arg: str) -> discord.Member: - member_converter = commands.MemberConverter() - try: - member = await member_converter.convert(ctx, arg) - except commands.BadArgument: - if arg.strip() != "": - raise - else: - member = ctx.author - return member - - -class SelfRole(commands.Converter): - async def convert(self, ctx: commands.Context, arg: str) -> discord.Role: - admin = ctx.command.cog - if admin is None: - raise commands.BadArgument(_("The Admin cog is not loaded.")) - - conf = admin.conf - selfroles = await conf.guild(ctx.guild).selfroles() - - role_converter = commands.RoleConverter() - role = await role_converter.convert(ctx, arg) - - if role.id not in selfroles: - raise commands.BadArgument(_("The provided role is not a valid selfrole.")) - return role diff --git a/admincustom/locales/ar-SA.po b/admincustom/locales/ar-SA.po deleted file mode 100644 index 5d00c2d..0000000 --- a/admincustom/locales/ar-SA.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:12\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Arabic\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: ar\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: ar_SA\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "حاولت القيام بشيء لا أملك تصريح من ديسكورد لفعله. فشل أمرك في إكمال نجاحه." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "أنا بالفعل أُعلن شيئاً. إذا كنت ترغب في إصدار إعلان مختلف الرجاء إستخدام `{prefix}announce cancel` أولاً." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "مجموعة من أدوات إدارة السيرفر." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "لقد قمت بنجاح بإضافة {role.name} إلى {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "لقد قمت بنجاح بإزالة {role.name} من {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "تعديل إعدادات الرتبة." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "تم." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "الإعلان عن رسالة إلى جميع السيرفرات المتواجد بها البوت." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "تم البدء في الإعلان." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "إلغاء إعلان جارٍ." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "تم إلغاء الإعلان الحالي." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "تعديل القناة التي يستخدمها البوت للإعلانات." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "تم تحديث قناة الإعلانات إلى {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "تم تمكين الإعلانات في السيرفر." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "سيرفر {guild.name} سيتلقى إعلانات الآن." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "سيرفر {guild.name} لن يتلقى إعلانات." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "تم تحديث/تعديل قائمة الرتب الذاتية بنجاح." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "قفل البوت للسيرفر الحالي فقط." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "لم يعد البوت مقفول للسيرفر الحالي فقط." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "لقد تم قفل البوت للسيرفر الحالي فقط." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "لم أتمكن من الإعلان في السيرفر: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "لم يتم تحميل وحدة الأدمن cog." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "الرتبة المذكورة ليست على قائمة الرتب الذاتية." - diff --git a/admincustom/locales/bg-BG.po b/admincustom/locales/bg-BG.po deleted file mode 100644 index acd7066..0000000 --- a/admincustom/locales/bg-BG.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:12\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Bulgarian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: bg\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: bg_BG\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Завършено." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/cs-CZ.po b/admincustom/locales/cs-CZ.po deleted file mode 100644 index c44c333..0000000 --- a/admincustom/locales/cs-CZ.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:15\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Czech\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 3;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: cs\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: cs_CZ\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Pokusil jsem se udělat něco, co mi Discord odepřel. Tvůj příkaz se nepodažilo úspěšně dokončit." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Už něco oznamuji. Pokud bys rád provedl jiné oznámení, nejdříve použij `{prefix}announce cancel`." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Kolekce nástrojů pro správu serveru." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Úspěšně jsem přidal {role.name} k {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Úspěšně jsem odstranil {role.name} od {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Upraví nastavení role." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Hotovo." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/da-DK.po b/admincustom/locales/da-DK.po deleted file mode 100644 index 55068b9..0000000 --- a/admincustom/locales/da-DK.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:12\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Danish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: da\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: da_DK\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/de-DE.po b/admincustom/locales/de-DE.po deleted file mode 100644 index 486659d..0000000 --- a/admincustom/locales/de-DE.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:12\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: German\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: de\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: de_DE\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Ich habe versucht etwas zu tun, für das mir Discord die Befugnis verweigerte. Dein Befehl konnte nicht erfolgreich ausgeführt werden." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "Ich habe versucht {member.display_name} er Rolle: {role.name} {verb}, aber diese Rolle hat höhere Rechte als ich. Also war es nicht möglich die Rolle erfolgreich hinzuzufügen. Bitte geb mir eine höhere Rolle und versuche es erneut." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Ich habe versucht die Rolle {role.name} an {member.display_name} zu {verb}, aber die Rolle ist höher als meine Rolle in der Discord Hierarchie, daher war es mir nicht möglich sie hinzuzufügen. Bitte gib mir eine höhere Rolle und versuche es erneut." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Ich habe versucht {role.name} zu bearbeiten, aber die Rolle ist höher als deine höhste Rolle im Discord. Also konnte ich dies nicht erfolgreich hinzufügen. Versuche es mit einer höheren Rolle erneut." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Ich kündige bereits etwas an. Wenn du eine andere Ankündigung machen willst, benutze bitte zuerst `{prefix}announce cancel`." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Eine Sammlung von administrativen Server-Verwaltungsprogramme." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "hinzuzufügen" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Ich habe erfolgreich {role.name} zu {member.display_name} hinzugefügt" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "entfernen" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Ich habe erfolgreich {role.name} von {member.display_name} entfernt" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Bearbeiten der Rollen Einstellungen." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Erledigt." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Mache eine Ankündigung auf allen Servern auf denen der Bot ist." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "Die Ankündigung hat begonnen." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Breche eine laufende Ankündigung ab." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "Die aktuelle Ankündigung wurde abgebrochen." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Ändere den Kanal in dem der Bot Ankündigungen macht." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "Der für Ankündigungen gewählte Kanal wurde festgelegt auf {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Schaltet Ankündigungen auf diesem Server ein oder aus." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "Der Server {guild.name} wird Ankündigunen erhalten." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "Der Server {guild.name} wird keine Ankündigunen erhalten." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "Die Liste selbst auswählbarer Rollen wurde erfolgreich bearbeitet." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Sperrt den Bot neuen Servern beizutreten." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "Der Bot ist nicht länger gesperrt neuen Servern beizutreten." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "Der Bot ist jetzt gesperrt neuen Servern beizutreten." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Ich konnte keine Ankündigung auf diesem Server machen: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "Das Admin-Cog ist nicht geladen." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "Die vorausgesetzte Rolle ist keine berechtigte selbst auswählbare Rolle." - diff --git a/admincustom/locales/el-GR.po b/admincustom/locales/el-GR.po deleted file mode 100644 index 1a913ff..0000000 --- a/admincustom/locales/el-GR.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:12\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Greek\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: el\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: el_GR\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/en-PT.po b/admincustom/locales/en-PT.po deleted file mode 100644 index 6581185..0000000 --- a/admincustom/locales/en-PT.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:15\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Pirate English\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: en-PT\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: en_PT\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Done." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/es-ES.po b/admincustom/locales/es-ES.po deleted file mode 100644 index d4c0977..0000000 --- a/admincustom/locales/es-ES.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Spanish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: es-ES\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: es_ES\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Intenté hacer algo que Discord me ha negado el permiso. Su comando no se pudo completar." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "He intentado agregar {verb} {role.name} a {member.display_name} pero ese rol es más alto que mi rol en la jerarquía de Discord, por lo que no he podido añadirlo con éxito. Por favor dame un rol más alto y vuelva a intentarlo." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "He intentado agregar {verb} {role.name} a {member.display_name} pero ese rol es más alto que mi rol en la jerarquía de Discord, por lo que no he podido añadirlo con éxito. Por favor dame un rol más alto y vuelva a intentarlo." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "He intentado agregar {role.name} a pero ese rol es más alto que mi rol en la jerarquía de Discord, por lo que no he podido añadirlo con éxito. Por favor dame un rol más alto y vuelva a intentarlo." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Ya estoy anunciando algo. Si quieres hacer un anuncio diferente, por favor usa `{prefix}announce cancel` primero." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Una colección de utilidades de administración de servidores." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "añadir" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "He añadido con éxito {role.name} a {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "eliminar" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "He retirado con éxito {role.name} de {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "Añadir un rol a un usuario.\\n\\n Si el usuario se deja en blanco, por defecto se convierte en autor del comando.\\n " - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "Eliminar un rol de un usuario.\\n\\n Si el usuario se deja en blanco, por defecto se convierte en autor del comando.\\n " - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Editar configuración de rol." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Listo." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Anunciar un mensaje a todos los servidores en que el bot está." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "El bot está bloqueado por el servidor." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "No pude anunciar en servidor: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "El cog Admin no está cargado." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "El rol proporcionado no es un selfrole válido." - diff --git a/admincustom/locales/fi-FI.po b/admincustom/locales/fi-FI.po deleted file mode 100644 index 179bdf4..0000000 --- a/admincustom/locales/fi-FI.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:15\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Finnish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: fi\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: fi_FI\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Yritin tehdä jotain, jonka Discord kielsi minulle luvat. Komento epäonnistui onnistuneesti." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "Yritin {verb} {role.name} kohtaan {member.display_name}, mutta tämä rooli on suurempi kuin korkein roolini Discord-hierarkiassa, joten en voinut lisätä sitä onnistuneesti. Anna minulle suurempi rooli ja yritä uudelleen." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Yritin {verb} {role.name} kohtaan {member.display_name}, mutta tämä rooli on korkeampi kuin korkein rooli Discord-hierarkiassa, joten en voinut lisätä sitä onnistuneesti. Hanki suurempi rooli ja yritä uudelleen." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Yritin muokata {role.name}, mutta tämä rooli on korkeampi kuin korkein rooli Discord-hierarkiassa, joten en voinut lisätä sitä onnistuneesti. Hanki suurempi rooli ja yritä uudelleen." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Olen jo ilmoittanut jotain. Jos haluat tehdä toisen ilmoituksen, käytä ensin \"{prefix} announce cancel\"." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Kokoelma palvelinhallintaohjelmia." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "lisätä" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Lisäsin {role.name} onnistuneesti {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "poistaa" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Olen poistanut {role.name} onnistuneesti {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Muokkaa rooliasetuksia." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Tehty." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Ilmoita viesti kaikille palvelimille, joihin botti on." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/fr-FR.po b/admincustom/locales/fr-FR.po deleted file mode 100644 index c65638e..0000000 --- a/admincustom/locales/fr-FR.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:11\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: French\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: fr\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: fr_FR\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "J'ai tenté de faire quelque chose que pour lequel Discord m'a refusé les permissions. La commande a échoué." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "J'ai essayé de {verb} {role.name} à {member.display_name} mais ce rôle est plus élevé que mon rôle le plus élevé dans la hiérarchie Discord, je n'ai donc pas réussi à l'ajouter. Donnez-moi un rôle plus élevé et réessayez." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "J'ai essayé de {verb} {role.name} à {member.display_name} mais ce rôle est plus élevé que votre rôle le plus élevé dans la hiérarchie Discord donc je n'ai pas réussi à l'ajouter. Essayez à nouveau avec un rôle plus élevé." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "J'ai essayé d'éditer {role.name} mais ce rôle est plus élevé que votre rôle le plus élevé dans la hiérarchie Discord et je n'ai donc pas réussi à l'ajouter. Essayez à nouveau avec un rôle plus élevé." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Je suis déjà en train d'annoncer quelque chose. Si tu souhaites faire une annonce différente, tu dois d'abord utiliser la commande `{prefix}announce cancel`." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Un ensemble d'utilitaires d'administration du serveur." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "ajouter" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "J'ai bien ajouté le rôle {role.name} à {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "supprimer" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "J'ai bien retiré le rôle {role.name} de {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "Ajouter un rôle à un utilisateur.\\n\\n Si aucun utilisateur n'est mentionné dans la commande, celui-ci fera effet sur l'auteur.\\n " - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "Retirer un rôle à un utilisateur.\\n\\n Si aucun utilisateur n'est mentionné dans la commande, celui-ci fera effet sur l'auteur.\\n " - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Modifier les paramètres d'un rôle." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "Modifier la couleur d'un rôle.\\n\\n Utilise des guillemets si le nom du rôle contient des espaces.\\n La couleur doit être au format hexadécimal\\n [Sélecteur de couleur en ligne](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Exemples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Fait." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "Modifier le nom d'un rôle.\\n\\n Utilise des guillemets si le nom du rôle contient des espaces.\\n\\n Exemples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Faire une annonce à tous les serveurs dans lesquels le bot se trouve." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "L’annonce a commencé." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Interrompre une annonce en cours." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "L'annonce actuelle a été interrompue." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Changer le salon dans lequel le bot fait des annonces." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "Les annonces seront maintenant faites dans {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Activer ou désactiver les annonces sur ce serveur." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "Le serveur {guild.name} recevra maintenant les annonces." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "Le serveur {guild.name} ne recevra plus les annonces." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "S'ajouter un rôle à soi-même.\\n\\n Les administrateurs du serveur doivent avoir configuré le rôle en tant qu'ajoutable par les utilisateurs.\\n\\n NOTE : Le nom du rôle est sensible aux majuscules et minuscules !\\n " - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "Se supprimer un auto-rôle.\\n\\n NOTE : Le rôle est sensible aux majuscules et minuscules !\\n " - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "Ajouter un rôle à la liste des auto-rôles disponibles.\\n\\n NOTE : Le nom du rôle est sensible aux majuscules et minuscules !\\n " - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "La liste des auto-rôles a été modifiée avec succès." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "Supprimer un rôle de la liste des auto-rôles.\\n\\n NOTE : Le nom du rôle est sensible aux majuscules et minuscules !\\n " - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "\\n Liste de tous les auto-rôles disponibles.\\n " - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "Auto-rôles disponibles :\\n{selfroles}" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Verrouiller un bot sur ses serveurs actuels uniquement." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "Le bot n'est plus verrouillé sur ses serveurs actuels." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "Le bot est maintenant verrouillé sur ses serveurs actuels." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Je n'ai pas pu faire d'annonce dans le serveur: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "Le cog Admin n'est pas chargé." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "Le rôle fourni n'est pas un auto-rôle valide." - diff --git a/admincustom/locales/hu-HU.po b/admincustom/locales/hu-HU.po deleted file mode 100644 index a80949e..0000000 --- a/admincustom/locales/hu-HU.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Hungarian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: hu\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: hu_HU\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Kész." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/id-ID.po b/admincustom/locales/id-ID.po deleted file mode 100644 index f5b2d5c..0000000 --- a/admincustom/locales/id-ID.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Indonesian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: id\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: id_ID\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "menambahkan" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "menghapus" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Selesai." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/it-IT.po b/admincustom/locales/it-IT.po deleted file mode 100644 index 0545fe6..0000000 --- a/admincustom/locales/it-IT.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Italian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: it\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: it_IT\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Ho cercato di fare qualcosa ma Discord mi ha negato i permessi per farla. Il tuo comando non è stato completato con successo." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "Ho cercato di {verb} {role.name} al gruppo {member.display_name} ma quel ruolo è più elevato del mio livello nella gerarchia di Discord quindi non sono stato in grado di aggiungerlo. prova a darmi un ruolo più alto e riprova." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Ho cercato di {verb} {role.name} al gruppo {member.display_name} ma quel ruolo è più elevato del tuo livello nella gerarchia di Discord quindi non sono stato in grado di aggiungerlo. Raggiungi un ruolo più alto e riprova." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Ho cercato di modificare {role.name} ma quel ruolo è più elevato del tuo livello nella gerarchia di Discord quindi non sono stato in grado di aggiungerlo. Raggiungi un ruolo più alto e riprova." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Sto già annunciando qualcosa. Se desideri fare un annuncio diverso, usa prima `{prefix}announce cancel`." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Una collezione di servizi di amministrazione del server." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "aggiungere" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Ho aggiunto con successo {role.name} al gruppo {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "rimuovere" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Ho rimosso con successo {role.name} dal gruppo {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Modifica impostazioni ruolo." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Fatto." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Invia un annuncio a tutti i server in cui si trova il bot." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "L'annuncio è partito." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Cancella un annuncio in corso." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "L'annuncio in corso è stato cancellato." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Modifica il canale in cui il bot invia gli annunci." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "Il canale per gli annunci è stato impostato su {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Attiva/disattiva gli annunci in questo server." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "Il server {guild.name} riceverà gli annunci." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "Il server {guild.name} non riceverà gli annunci." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "La lista dei ruoli autoassegnabili e stata modificata." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Blocca un bot ai suoi server attuali." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "Il bot non è più bloccato ai server." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "Il bot è bloccato ai server." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Non ho potuto annunciare al server: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "Il cog Admin non è caricato." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "Il ruolo fornito non è un ruolo autoassegnabile valido." - diff --git a/admincustom/locales/ja-JP.po b/admincustom/locales/ja-JP.po deleted file mode 100644 index 5a3b852..0000000 --- a/admincustom/locales/ja-JP.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Japanese\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: ja_JP\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "私は不和が私に権限を拒否した何かをしようとしました。コマンドを正常に完了できませんでした。" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/ko-KR.po b/admincustom/locales/ko-KR.po deleted file mode 100644 index 1cead17..0000000 --- a/admincustom/locales/ko-KR.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Korean\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: ko\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: ko_KR\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "다 했어요." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/lol-US.po b/admincustom/locales/lol-US.po deleted file mode 100644 index 235559d..0000000 --- a/admincustom/locales/lol-US.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: LOLCAT\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: lol\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: lol_US\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Discord sayed I can't do sometingz. Ur command faild 2 complete." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/nl-NL.po b/admincustom/locales/nl-NL.po deleted file mode 100644 index 1c00f9f..0000000 --- a/admincustom/locales/nl-NL.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Dutch\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: nl\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: nl_NL\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Ik probeerde iets te doen, maar Discord weigerde mij toestemming te geven. Je command is geslaagd te mislukken." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Ik ben al iets aan het aankondigen. Als je iets anders wilt aankondigen, voer dan eerst deze command uit: '{prefix}announce cancel'." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Een collectie van de server administratie voorzieningen." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Ik heb succesvol {role.name} toegevoegd aan {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Ik heb succesvol {role.name} verwijderd van {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Rol instellingen bewerken." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Klaar." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Kondig een bericht aan in alle servers." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "De aankondiging is begonnen." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Annuleer een huidige aankondiging." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "De huidige aankondiging is geannuleerd." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Bewerk het kanaal waar de bot aankondigingen maakt." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "Het aankondigingskanaal is aangepast naar {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Aankondigingen zijn geactiveerd in deze server." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "De server {guild.name} ontvangt aankondigingen." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "De server {guild.name} ontvangt geen aankondigingen." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "De selfroles lijst is succesvol aangepast." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Vergrendel de bot voor alleen deze server." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "De bot is niet langer vergrendeld." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "De bot is vergrendeld." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Ik kan geen bericht aankondigen in: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "De admin cog is niet geladen." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "De ingevulde rol is geen beschikbare selfrole." - diff --git a/admincustom/locales/no-NO.po b/admincustom/locales/no-NO.po deleted file mode 100644 index 90a09eb..0000000 --- a/admincustom/locales/no-NO.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Norwegian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: no\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: no_NO\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Ferdig." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/pl-PL.po b/admincustom/locales/pl-PL.po deleted file mode 100644 index efb659f..0000000 --- a/admincustom/locales/pl-PL.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Polish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: pl\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: pl_PL\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "Spróbowałam {verb} {role.name} na {member.display_name}, ale ta rola jest wyższa niż moja najwyższa rola w hierarchii Discorda, więc nie mogłam jej dodać. Daj mi proszę wyższą rolę i spróbuj ponownie." - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Spróbowałam {verb} {role.name} na {member.display_name}, ale ta rola jest wyższa niż twoja najwyższa rola w hierarchii Discorda, więc nie mogłam jej dodać. Uzyskaj proszę wyższą rolę i spróbuj ponownie." - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Spróbowałam zmienić {role.name}, ale ta rola jest wyższa niż twoja najwyższa rola w hierarchii Discorda, więc nie mogłam jej dodać. Uzyskaj proszę wyższą rolę i spróbuj ponownie." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "dodać" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "usunąć" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Gotowe." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "Moduł Admin nie jest załadowany." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/pt-BR.po b/admincustom/locales/pt-BR.po deleted file mode 100644 index 0a2abf5..0000000 --- a/admincustom/locales/pt-BR.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Portuguese, Brazilian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: pt-BR\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: pt_BR\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Eu tentei fazer algo que o Discord me negou as permissões. Seu comando falhou em ser completado com sucesso." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Eu já estou anunciando algo. Se quer fazer um anúncio diferente, por favor use `{prefix}announce cancel` primeiro." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Uma coleção de ferramentas de administração para o servidor." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Eu adicionei com sucesso {role.name} de {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Eu removi com sucesso {role.name} de {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Edite as configurações de cargo." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Concluído." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/pt-PT.po b/admincustom/locales/pt-PT.po deleted file mode 100644 index da237df..0000000 --- a/admincustom/locales/pt-PT.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Portuguese\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: pt-PT\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: pt_PT\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Tentei fazer uma coisa que o Discord negou permissão para fazer. O comando não foi concluído." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Já estou a anunciar algo. Se queres fazer um anúncio diferente usa `{prefix}announce cancel` antes de usares este comando." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Uma coleção de utilidades para administração de servidores." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Adicionei com sucesso {role.name} a {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Removi com sucesso {role.name} de {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Concluído." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Anuncia uma mensagem para todos os servidores em que o bot está." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "O anúncio foi iniciado." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Cancelar um anúncio em curso." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "O anúncio atual foi cancelado." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Mude o canal para o qual o bot faz os anúncios." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "O canal de anúncio foi definido para {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Ativar ou Desativar os anúncios neste servidor." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "O servidor {guild.name} vai receber anúncios." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "O servidor {guild.name} não vai receber anúncios." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "A lista de cargos definíveis foi modificada com sucesso." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Bloquear o bot aos servidores atuais." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "O bot já não está bloqueado aos servidores atuais." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "O bot está agora bloqueado aos servidores atuais." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Não me foi possível anunciar no servidor: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "O cog 'Admin' não está carregado." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "O cargo indicado não é um cargo definível válido." - diff --git a/admincustom/locales/ro-RO.po b/admincustom/locales/ro-RO.po deleted file mode 100644 index 1ae4f18..0000000 --- a/admincustom/locales/ro-RO.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:09\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Romanian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100>0 && n%100<20)) ? 1 : 2);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: ro\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: ro_RO\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/ru-RU.po b/admincustom/locales/ru-RU.po deleted file mode 100644 index 15cf95b..0000000 --- a/admincustom/locales/ru-RU.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:13\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Russian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: ru\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: ru_RU\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Я попыталась сделать что-то, в чем Discord отказал мне в разрешениях. Ваша команда не была выполнена успешно." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "Я попытался изменить {role.name}, но эта роль выше Вашей в иерархии Discord, поэтому я не смог добавить её. Повысьте роль и попробуйте еще раз." - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "Я уже что-то объявляю. Если вы хотите сделать другое объявление, сначала используйте `{prefix}announce cancel`." - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "Набор утилит администрирования сервера." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "добавить" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "Я успешно добавила роль {role.name} пользователю {member.display_name}" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "удалить" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "Я успешно забрала роль {role.name} у пользователя {member.display_name}" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Изменение параметров роли." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Готово." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "Объявить сообщение на всех серверах, к которым подключен бот." - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "Объявление началось." - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "Отменить текущее объявление." - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "Текущее объявление было отменено." - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "Изменить канал, на котором бот делает объявления." - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "Канал объявления был установлен на {channel.mention}" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "Переключить объявления, когда этот сервер включен." - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "Сервер {guild.name} будет получать объявления." - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "Сервер {guild.name} не будет получать объявления." - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "Список ролей был изменен успешно." - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "Зафиксировать бота только на его текущих серверах." - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "Бот больше не зафиксирован на сервере." - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "Бот теперь зафиксирован на сервере." - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "Я не могу объявить на сервере: {server.id}" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "Модуль Admin не загружен." - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "Предоставленная роль не является допустимой ролью." - diff --git a/admincustom/locales/sk-SK.po b/admincustom/locales/sk-SK.po deleted file mode 100644 index 9215bdf..0000000 --- a/admincustom/locales/sk-SK.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Slovak\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 3;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: sk\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: sk_SK\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/sv-SE.po b/admincustom/locales/sv-SE.po deleted file mode 100644 index a69ca4f..0000000 --- a/admincustom/locales/sv-SE.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Swedish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: sv-SE\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: sv_SE\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "Jag försökte göra något som Discord nekade mig behörighet till. Ditt kommando kunde inte slutföras." - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "En samling administrationsverktyg för servern." - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "Redigera rollinställningar." - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Klart." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/tr-TR.po b/admincustom/locales/tr-TR.po deleted file mode 100644 index cabae0a..0000000 --- a/admincustom/locales/tr-TR.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Turkish\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: tr\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: tr_TR\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "Tamamdır." - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/zh-CN.po b/admincustom/locales/zh-CN.po deleted file mode 100644 index 1f847d0..0000000 --- a/admincustom/locales/zh-CN.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-06 16:14\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Chinese Simplified\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: zh-CN\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: zh_CN\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "完成。" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/admincustom/locales/zh-TW.po b/admincustom/locales/zh-TW.po deleted file mode 100644 index cd23588..0000000 --- a/admincustom/locales/zh-TW.po +++ /dev/null @@ -1,186 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: red-discordbot\n" -"POT-Creation-Date: 2019-07-05 22:33+0200\n" -"PO-Revision-Date: 2019-07-14 02:15\n" -"Last-Translator: Robert Jansen (Kowlin)\n" -"Language-Team: Chinese Traditional\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: redgettext 3.0\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: red-discordbot\n" -"X-Crowdin-Language: zh-TW\n" -"X-Crowdin-File: /cogs/admin/locales/messages.pot\n" -"Language: zh_TW\n" - -#: redbot/cogs/admin/admin.py:17 -msgid "I attempted to do something that Discord denied me permissions for. Your command failed to successfully complete." -msgstr "" - -#: redbot/cogs/admin/admin.py:22 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than my highest role in the Discord hierarchy so I was unable to successfully add it. Please give me a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:29 -msgid "I tried to {verb} {role.name} to {member.display_name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:36 -msgid "I tried to edit {role.name} but that role is higher than your highest role in the Discord hierarchy so I was unable to successfully add it. Please get a higher role and try again." -msgstr "" - -#: redbot/cogs/admin/admin.py:43 -msgid "I am already announcing something. If you would like to make a different announcement please use `{prefix}announce cancel` first." -msgstr "" - -#: redbot/cogs/admin/admin.py:53 -#, docstring -msgid "A collection of server administration utilities." -msgstr "" - -#: redbot/cogs/admin/admin.py:115 redbot/cogs/admin/admin.py:160 -msgid "add" -msgstr "" - -#: redbot/cogs/admin/admin.py:121 -msgid "I successfully added {role.name} to {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:132 redbot/cogs/admin/admin.py:180 -msgid "remove" -msgstr "" - -#: redbot/cogs/admin/admin.py:138 -msgid "I successfully removed {role.name} from {member.display_name}" -msgstr "" - -#: redbot/cogs/admin/admin.py:149 -#, docstring -msgid "Add a role to a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:169 -#, docstring -msgid "Remove a role from a user.\\n\\n If user is left blank it defaults to the author of the command.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:187 -#, docstring -msgid "Edit role settings." -msgstr "" - -#: redbot/cogs/admin/admin.py:194 -#, docstring -msgid "Edit a role's colour.\\n\\n Use double quotes if the role contains spaces.\\n Colour must be in hexadecimal format.\\n [Online colour picker](http://www.w3schools.com/colors/colors_picker.asp)\\n\\n Examples:\\n `[p]editrole colour \\\"The Transistor\\\" #ff0000`\\n `[p]editrole colour Test #ff9900`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:217 redbot/cogs/admin/admin.py:245 -msgid "Done." -msgstr "" - -#: redbot/cogs/admin/admin.py:222 -#, docstring -msgid "Edit a role's name.\\n\\n Use double quotes if the role or the name contain spaces.\\n\\n Examples:\\n `[p]editrole name \\\"The Transistor\\\" Test`\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:250 -#, docstring -msgid "Announce a message to all servers the bot is in." -msgstr "" - -#: redbot/cogs/admin/admin.py:257 -msgid "The announcement has begun." -msgstr "" - -#: redbot/cogs/admin/admin.py:265 -#, docstring -msgid "Cancel a running announce." -msgstr "" - -#: redbot/cogs/admin/admin.py:271 -msgid "The current announcement has been cancelled." -msgstr "" - -#: redbot/cogs/admin/admin.py:277 -#, docstring -msgid "Change the channel to which the bot makes announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:283 -msgid "The announcement channel has been set to {channel.mention}" -msgstr "" - -#: redbot/cogs/admin/admin.py:290 -#, docstring -msgid "Toggle announcements being enabled this server." -msgstr "" - -#: redbot/cogs/admin/admin.py:296 -msgid "The server {guild.name} will receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:300 -msgid "The server {guild.name} will not receive announcements." -msgstr "" - -#: redbot/cogs/admin/admin.py:326 -#, docstring -msgid "Add a role to yourself.\\n\\n Server admins must have configured the role as user settable.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:337 -#, docstring -msgid "Remove a selfrole from yourself.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:347 -#, docstring -msgid "Add a role to the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:355 redbot/cogs/admin/admin.py:367 -msgid "The selfroles list has been successfully modified." -msgstr "" - -#: redbot/cogs/admin/admin.py:360 -#, docstring -msgid "Remove a role from the list of available selfroles.\\n\\n NOTE: The role is case sensitive!\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:371 -#, docstring -msgid "\\n Lists all available selfroles.\\n " -msgstr "" - -#: redbot/cogs/admin/admin.py:377 -msgid "Available Selfroles:\\n{selfroles}" -msgstr "" - -#: redbot/cogs/admin/admin.py:394 -#, docstring -msgid "Lock a bot to its current servers only." -msgstr "" - -#: redbot/cogs/admin/admin.py:399 -msgid "The bot is no longer serverlocked." -msgstr "" - -#: redbot/cogs/admin/admin.py:401 -msgid "The bot is now serverlocked." -msgstr "" - -#: redbot/cogs/admin/announcer.py:70 -msgid "I could not announce to server: {server.id}" -msgstr "" - -#: redbot/cogs/admin/converters.py:25 -msgid "The Admin cog is not loaded." -msgstr "" - -#: redbot/cogs/admin/converters.py:34 -msgid "The provided role is not a valid selfrole." -msgstr "" - diff --git a/costmanager/manager.py b/costmanager/manager.py index 8c09866..cf62d29 100644 --- a/costmanager/manager.py +++ b/costmanager/manager.py @@ -3,8 +3,6 @@ from redbot.core import Config, checks, commands, bank from redbot.core.bot import Red import discord -from collections import defaultdict - class PoorError(commands.CommandError): pass @@ -367,6 +365,7 @@ class CostManager(commands.Cog): await ctx.send(box(m, lang="python")) @commands.command(name="cost") + @commands.guild_only() async def get_cost_command(self, ctx, command: str): """ Get cost of a command. diff --git a/moreadmin/__init__.py b/moreadmin/__init__.py new file mode 100644 index 0000000..269d9f8 --- /dev/null +++ b/moreadmin/__init__.py @@ -0,0 +1,5 @@ +from .moreadmin import MoreAdmin + + +def setup(bot): + bot.add_cog(MoreAdmin(bot)) diff --git a/moreadmin/info.json b/moreadmin/info.json new file mode 100644 index 0000000..eafddd2 --- /dev/null +++ b/moreadmin/info.json @@ -0,0 +1,19 @@ +{ + "author": [ + "Brandons209" + ], + "bot_version": [ + 3, + 0, + 0 + ], + "description": "More admin commands like purging inactive users, member count display for channel name, add roles based on author's current roles, log new user accounts joining, and more!", + "hidden": false, + "install_msg": "Thank you for using this cog!", + "requirements": [], + "short": "More admins commands for your server.", + "tags": [ + "brandons209", + "redbot" + ] +} diff --git a/moreadmin/moreadmin.py b/moreadmin/moreadmin.py new file mode 100644 index 0000000..4896f6c --- /dev/null +++ b/moreadmin/moreadmin.py @@ -0,0 +1,674 @@ +from redbot.core.utils.chat_formatting import * +from redbot.core.utils import mod +from redbot.core.utils.predicates import MessagePredicate +from redbot.core import Config, checks, commands, modlog +from redbot.core.bot import Red +from redbot.core.data_manager import cog_data_path +import discord + +from .utils import * +import asyncio +from typing import Union +import os + +from datetime import datetime +import time + +TIME_RE_STRING = r"\s?".join( + [ + r"((?P\d+?)\s?(weeks?|w))?", + r"((?P\d+?)\s?(days?|d))?", + r"((?P\d+?)\s?(hours?|hrs|hr?))?", + r"((?P\d+?)\s?(minutes?|mins?|m(?!o)))?", # prevent matching "months" + r"((?P\d+?)\s?(seconds?|secs?|s))?", + ] +) + +TIME_RE = re.compile(TIME_RE_STRING, re.I) + +PURGE_DM_MESSAGE = "**__Notice of automatic inactivity removal__**\n\nYou have been kicked from {0.name} for lack of activity in the server; this is merely routine, and you are welcome to join back here: {1}" + +def parse_timedelta(argument: str) -> Optional[timedelta]: + matches = TIME_RE.match(argument) + if matches: + params = {k: int(v) for k, v in matches.groupdict().items() if v} + if params: + return timedelta(**params) + return None + + +class MoreAdmin(commands.Cog): + """ + Provides some more Admin commands to Red. + """ + + def __init__(self, bot): + self.bot = bot + self.config = Config.get_conf(self, identifier=213438438248, force_registration=True) + + default_guild = { + "user_count_channel": None, + "sus_user_channel": None, + "sus_user_threshold": None + } + + default_role = { + "addable": [] # role ids who can add this role + } + self.config.register_role(**default_role) + self.config.register_guild(**default_guild) + self.loop = asyncio.get_event_loop() + self.loop.create_task(self.initialize()) + self.user_task = self.loop.create_task(self.user_count_updater()) + + async def initialize(self): + await self.register_casetypes() + + def cog_unload(self): + self.user_task.cancel() + + @staticmethod + async def register_casetypes(): + # register mod case + punish_case = { + "name": "Purge", + "default_setting": True, + "image": "\N{WOMANS BOOTS}", + "case_str": "Purge", + } + try: + await modlog.register_casetype(**punish_case) + except RuntimeError: + pass + + @staticmethod + async def find_last_message(guild: discord.Guild, role: discord.Role): + """ + Finds last message of EVERY user with role in a guild. + **WARNING VERY SLOW AND COSTLY OPERATION!** + + returns: dictionary maping user ids -> last message + """ + last_msgs = {} + text_channels = [channel for channel in guild.channels if isinstance(channel, discord.TextChannel)] + for channel in text_channels: + async for message in channel.history(limit=None): + if isinstance(message.author, discord.Member) and role in message.author.roles: + if message.author.id not in last_msgs.keys(): + last_msgs[message.author.id] = message + else: + curr_last = last_msgs[message.author.id] + if message.created_at > curr_last.created_at: + last_msgs[message.author.id] = message + + return last_msgs + + async def user_count_updater(self): + await self.bot.wait_until_ready() + SERVER_STATS_MSG = "USERS: {}/{}" + SLEEP_TIME = 300 + while True: + for guild in self.bot.guilds: + channel = await self.config.guild(guild).user_count_channel() + if channel: + channel = guild.get_channel(channel) + online = len([m.status for m in guild.members if m.status != discord.Status.offline]) + title = SERVER_STATS_MSG.format(online, len(guild.members)) + await channel.edit(name=title) + + await asyncio.sleep(SLEEP_TIME) + + @commands.group(name="adminset") + @commands.guild_only() + @checks.admin_or_permissions(administrator=True) + async def adminset(self, ctx): + """ + Manage more admin settings. + """ + pass + + @adminset.command(name="user-count") + async def adminset_user_count(self, ctx, *, channel: Union[discord.TextChannel, discord.VoiceChannel] = None): + """ + Set channel to display guild user count. + Run with no channel to disable. + """ + if not channel: + pred = MessagePredicate.yes_or_no(ctx) + curr_channel = await self.config.guild(ctx.guild).user_count_channel() + if not curr_channel: + await ctx.send("No channel defined.") + return + + await ctx.send(f"Would you like to clear the current channel? ({ctx.guild.get_channel(curr_channel).mention})") + try: + await self.bot.wait_for("message", check=pred, timeout=30) + except asyncio.TimeoutError: + await ctx.send("Took too long.") + return + if pred.result: + await self.config.guild(ctx.guild).user_count_channel.set(None) + await ctx.tick() + return + else: + await ctx.send("Nothing changed.") + return + + await self.config.guild(ctx.guild).user_count_channel.set(channel.id) + await ctx.tick() + + @adminset.command(name="sus-channel") + async def adminset_sus_user(self, ctx, *, channel: discord.TextChannel = None): + """ + Set channel to log new users. + Run with no channel to disable. + Make sure to set threshold age for new account using [p]adminset sus-threshold + """ + if not channel: + pred = MessagePredicate.yes_or_no(ctx) + curr_channel = await self.config.guild(ctx.guild).sus_user_channel() + if not curr_channel: + await ctx.send("No channel defined.") + return + + await ctx.send(f"Would you like to clear the current channel? ({ctx.guild.get_channel(curr_channel).mention})") + try: + await self.bot.wait_for("message", check=pred, timeout=30) + except asyncio.TimeoutError: + await ctx.send("Took too long.") + return + if pred.result: + await self.config.guild(ctx.guild).sus_user_channel.set(None) + await ctx.tick() + return + else: + await ctx.send("Nothing changed.") + return + + await self.config.guild(ctx.guild).sus_user_channel.set(channel.id) + await ctx.tick() + + @adminset.command(name="sus-threshold") + async def adminset_sus_threshold(self, ctx, *, threshold: str): + """ + Set threshold for classifying users as new. + + Threshold should look like: + 5 minutes + 1 minute 30 seconds + 1 hour + 2 days + 30 days + 5h30m + (etc) + """ + threshold = parse_timedelta(threshold) + if not threshold: + await ctx.send("Invalid threshold!") + return + + await self.config.guild(ctx.guild).sus_user_threshold.set(int(threshold.total_seconds())) + await ctx.tick() + + @adminset.command(name="addable") + async def adminset_addable(self, ctx, role: discord.Role, *, role_list: str = None): + """ + Set roles that can add this role to others. + + Role list should be a list of one or more **role names or ids** seperated by commas. + Roles in role list will be removed if already in the role list, or added if they are not. + + Role names are case sensitive! + + Don't pass a role list to see the current roles + """ + if not role_list: + curr = await self.config.role(role).addable() + if not curr: + await ctx.send("No roles defined.") + else: + curr = [ctx.guild.get_role(role_id) for role_id in curr] + not_found = len([r for r in curr if r is None]) + curr = [r.name for r in curr if curr is not None] + if not_found: + await ctx.send( + f"{not_found} roles weren't found, please run {ctx.prefix}costset clear to remove these roles.\nAddable Roles: {humanize_list(curr)}" + ) + else: + await ctx.send(f"Addable Roles: {humanize_list(curr)}") + return + + role_list = role_list.strip().split(",") + role_list = [r.strip() for r in role_list] + not_found = set() + found = set() + added = set() + removed = set() + for role_name in role_list: + role = role_from_string(guild, role_name) + + if role is None: + not_found.add(role_name) + continue + + found.add(role) + + if not_found: + await ctx.send( + warning("These roles weren't found, please try again: {}".format(humanize_list(list(not_found)))) + ) + return + + async with self.config.role(role).addable() as addable: + for role in found: + if role.id in addable: + addable.remove(role.id) + removed.add(role.name) + else: + addable.append(role.id) + added.add(role.name) + msg = "" + if added: + msg += "Added: {}\n".format(humanize_list(list(added))) + if removed: + msg += "Removed: {}".format(humanize_list(list(removed))) + + await ctx.send(msg) + + + @commands.command(name="giverole") + @checks.mod_or_permissions(manage_roles=True) + @checks.bot_has_permissions(manage_roles=True) + async def admin_addrole(self, ctx, role: discord.Role, *, user: discord.Member): + """ + Add a role to a user. + **Must be setup before hand with `[p]adminset`** + Admins will bypass role checks. + """ + author = ctx.author + reason = f"Added by {author} (id: {author.id})" + if mod.is_admin_or_superior(self.bot, author): + try: + await user.add_roles(role, reason=reason) + except: + await ctx.send("Adding role failed!") + return + + roles = {r.id for r in author.roles if r.name != "@everyone"} + addable = await self.config.role(role).addable() + roles &= set(addable) + + if roles: + await user.add_roles(role, reason=reason) + else: + await ctx.send("You do not have the proper roles to add this role.") + + @commands.command(name="remrole") + @checks.mod() + @checks.bot_has_permissions(manage_roles=True) + async def admin_remrole(self, ctx, role: discord.Role, *, user: discord.Member): + """ + Removes a role to a user. + **Must be setup before hand with `[p]adminset`** + Admins will bypass role checks. + """ + author = ctx.author + reason = f"Removed by {author} (id: {author.id})" + if mod.is_admin_or_superior(self.bot, author): + try: + await user.remove_roles(role, reason=reason) + except: + await ctx.send("Removing role failed!") + return + + roles = {r.id for r in author.roles if r.name != "@everyone"} + addable = await self.config.role(role).addable() + roles &= set(addable) + + if roles: + await user.remove_roles(role, reason=reason) + else: + await ctx.send("You do not have the proper roles to remove this role.") + + @commands.command(name="pingable") + @checks.mod() + @checks.bot_has_permissions(manage_roles=True) + async def pingable(self, ctx, seconds: int, *, role: discord.Role): + """ + Sets a role to be pingable for amount of seconds. + + A time of 0 will just toggle the pingable status. + + Role should be a role name or role ID. + """ + guild = ctx.guild + + if seconds < 0: + await ctx.send("Please enter a time greater than or equal to 0.") + return + + if seconds == 0: + current_status = True is not role.mentionable + await ctx.send("Setting pingable status to {} now.".format("ON" if current_status else "OFF")) + await role.edit(mentionable=current_status) + else: + await ctx.send("Setting {} to be pingable for {} seconds.".format(role.name, seconds)) + await role.edit(mentionable=True) + await asyncio.sleep(seconds) + await role.edit(mentionable=False) + + @commands.command(name="purge") + @checks.admin_or_permissions(administrator=True) + @checks.bot_has_permissions(kick_members=True) + async def purge(self, ctx, role: discord.Role, check_messages: bool = True, *, threshold: str = None): + """ + Purge inactive users with role. + + **__WARNING: VERY SLOW AND COSTLY OPERATION!__** + **If the role has spaces, you need to use quotes** + + If check_messages is yes/true/1 then purging is dictated by the user's last message. + If check_messages is no/false/0 then purging is dictated by the user's join date. + + Threshold should be an interval. + + Intervals look like: + 5 minutes + 1 minute 30 seconds + 1 hour + 2 days + 30 days + 5h30m + (etc) + """ + threshold = parse_timedelta(threshold) + if not threshold: + await ctx.send("Invalid threshold!") + return + + guild = ctx.guild + to_purge = [] + errored = [] + start_time = time.time() + if check_messages: + last_msgs = await self.find_last_message(guild, role) + + for member in guild.members: + if role in member.roles: + if check_messages: + last_msg = last_msgs.get(member.id, -1) + if last_msg == -1: # shouldn't happen, but just a sanity check + errored.append(member) + elif (ctx.message.created_at - last_msg.created_at) > threshold: + to_purge.append(member) + else: + if (ctx.message.created_at - member.joined_at) > threshold: + to_purge.append(member) + + if errored: + errored = [m.mention for m in errored] + await ctx.send(f"Some user's last message could not be found. Please check them manually:\n\n{humanize_list(errored)}") + + if not to_purge: + await ctx.send("No one to purge.") + return + + await ctx.send(f"This will purge {len(to_purge)} users, are you sure you want to continue?") + + pred = MessagePredicate.yes_or_no(ctx) + try: + await self.bot.wait_for("message", check=pred, timeout=30) + except asyncio.TimeoutError: + await ctx.send("Took too long.") + return + if pred.result: + await ctx.send("Are you really sure? This cannot be stopped once it starts.") + try: + await self.bot.wait_for("message", check=pred, timeout=30) + except asyncio.TimeoutError: + await ctx.send("Took too long.") + return + + if not pred.result: + await ctx.send("Cancelled") + return + + await ctx.send("Okay, here we go.") + invite = await guild.invites() + invite = invite[0].url + purge_msg = PURGE_DM_MESSAGE.format(guild, invite) + for user in to_purge: + try: + await user.send(purge_msg) + except: + pass + + if check_messages: + _purge = last_msgs[user.id].created_at + msg = "Last Message Time" + else: + _purge = user.joined_at + msg = "Account Age" + + _purge = (ctx.message.created_at - _purge) + _purge = parse_seconds(_purge.total_seconds()) + threshold = parse_seconds(threshold.total_seconds()) + reason = f"Purged by moreadmins cog. {msg}: {_purge}, Threshold: {threshold}" + + await user.kick(reason=reason) + await modlog.create_case(self.bot, guild, ctx.message.created_at, "Purge", user, moderator=ctx.author, reason=reason) + + await ctx.send(f"Purge completed. Took {parse_seconds(time.time() - start_time)}.") + + else: + await ctx.send("Cancelled.") + + @commands.command() + @commands.guild_only() + async def say(self, ctx, *, content: str): + await ctx.send(escape(content, mass_mentions=True)) + + @commands.command() + @commands.guild_only() + async def selfdm(self, ctx, *, content: str): + try: + await ctx.author.send(content) + except: + await ctx.send("I couldn't send you the DM, make sure to turn on messages from server members! Here is the message:") + await ctx.send(content) + + @commands.command() + @checks.mod() + @commands.guild_only() + async def edit(self, ctx, channel: discord.TextChannel, message_id: int, *, msg: str): + """ + Edit any message sent by Aurelia. + Needs message ID of message to edit, and the channel the message is in. + """ + try: + message = await channel.fetch_message(message_id) + except: + await ctx.send("Sorry, that message could not be found.") + return + + try: + await message.edit(content=msg) + except: + await ctx.send("Could not edit message.") + + @commands.command() + @commands.guild_only() + @checks.admin_or_permissions(administrator=True) + async def send(self, ctx, channel: discord.TextChannel, *, msg: str): + """ + Sends a message to a channel from Aurelia. + """ + try: + await channel.send(msg) + except: + await ctx.send("Could not send message in that channel.") + + @commands.command() + @commands.guild_only() + @checks.admin_or_permissions(administrator=True) + async def sendatt(self, ctx, channel: discord.TextChannel): + """ + Sends an attachment to a channel from Aurelia. + + Attach content to the message. + """ + attach = ctx.message.attachments + if len(attach) < 1: + await ctx.send("Please add an attachment.") + return + + filepaths = [] + if attach: + for a in attach: + filepaths.append(cog_data_path(cog_instance=self) / f"{ctx.author.id}_{a.filename}") + a.save(filepaths[-1]) + else: + await ctx.send("You must provide a Discord attachment.") + return + + files = [discord.File(file) for file in filepaths] + + await channel.send(files=files) + + for file in filepaths: + os.remove(file) + + @commands.command() + @commands.guild_only() + @checks.mod() + async def get(self, ctx, channel: discord.TextChannel, message_id: int): + """ + Gets a message with it's formatting from Aurelia. + """ + try: + message = await channel.fetch_message(message_id) + except: + await ctx.send("Sorry, that message could not be found.") + return + + if message.content == "": + await ctx.send("(no message content)") + else: + await ctx.send("{}".format(escape(message.content, formatting=True, mass_mentions=True))) + + + @commands.command() + @commands.guild_only() + @checks.admin_or_permissions(administrator=True) + async def listrole(self, ctx, *, role_list: str = None): + """ + Lists all memebers with specified roles. + Leave list empty to list everyone with no roles. + + Role list should be a list of one or more **role names or ids** seperated by commas. + + Role names are case sensitive! + """ + guild = ctx.guild + results = [] + if role_list is None: + for member in guild.members: + if len(member.roles) == 1: + results.append(member) + else: + role_list = role_list.strip().split(",") + role_list = [r.strip() for r in role_list] + parsed_roles = [role_from_string(guild, role) for role in role_list] + + if None in parsed_roles: + await ctx.send("Some of those role(s) were not found, please try again.") + return + + num_parsed_roles = len(parsed_roles) + for member in guild.members: + found = 0 + for role in parsed_roles: + if role in member.roles: + found += 1 + + if num_parsed_roles == found: + results.append(member) + + if not results: + await ctx.send("No members found with specified role(s).") + return + + results = [m.mention for m in results] + msg = " ".join(results) + msg_pages = pagify(msg) + + for page in msg_pages: + await ctx.send(msg) + + num = len(results) + plural = "s" if num > 1 else "" + await ctx.send(f"That is {num} member{plural} with these role(s)") + + @commands.Cog.listener() + async def on_member_join(self, member): + sus_threshold = await self.config.guild(member.guild).sus_user_threshold() + if not sus_threshold: + return + channel = await self.config.guild(member.guild).sus_user_channel() + channel = member.guild.get_channel(channel) + if not channel: + return + + age = (datetime.utcnow() - member.created_at).total_seconds() + + if age < sus_threshold: + data = discord.Embed(title="NEW ACCOUNT DETECTED", colour=member.colour) + data.add_field(name="Account Age", value=parse_seconds(age)) + data.add_field(name="Threshold", value=parse_seconds(sus_threshold)) + data.set_footer(text=f"User ID:{member.id}") + + name = str(member) + name = " ~ ".join((name, member.nick)) if member.nick else name + + if member.avatar_url: + data.set_author(name=name, url=member.avatar_url) + data.set_thumbnail(url=member.avatar_url) + else: + data.set_author(name=name) + + await channel.send(embed=data) + + ### DATA LOADING FROM V2, WILL REMOVE LATER ### + @commands.command(name="loadecon") + @checks.is_owner() + async def load_econ(self, ctx, *, path: str): + import json + from redbot.core import bank + with open(path, "r") as f: + settings = json.load(f) + + for guild_id, member_data in settings.items(): + guild = self.bot.get_guild(int(guild_id)) + for mid, mdata in member_data.items(): + user = guild.get_member(int(mid)) + try: + await bank.deposit_credits(user, mdata["balance"]) + except Exception as e: + print(e) + + @commands.command(name="loaduserstats") + @checks.is_owner() + async def load_stats(self, ctx, *, path: str): + import json + act_log = self.bot.get_cog("ActivityLogger") + with open(path, "r") as f: + settings = json.load(f) + + for guild in self.bot.guilds: + for member in guild.members: + data = settings[str(member.id)] + async with act_log.config.member(member).stats() as stats: + stats["total_msg"] += data["total_msg"] + stats["bot_cmd"] += data["bot_cmd"] + stats["avg_len"] += data["avg_len"] + stats["vc_time_sec"] += data["vc_time_sec"] diff --git a/moreadmin/utils.py b/moreadmin/utils.py new file mode 100644 index 0000000..05686de --- /dev/null +++ b/moreadmin/utils.py @@ -0,0 +1,64 @@ +import re +import discord +from datetime import timedelta + +TIME_RE_STRING = r"\s?".join( + [ + r"((?P\d+?)\s?(weeks?|w))?", + r"((?P\d+?)\s?(days?|d))?", + r"((?P\d+?)\s?(hours?|hrs|hr?))?", + r"((?P\d+?)\s?(minutes?|mins?|m(?!o)))?", # prevent matching "months" + r"((?P\d+?)\s?(seconds?|secs?|s))?", + ] +) + +TIME_RE = re.compile(TIME_RE_STRING, re.I) + + +def parse_timedelta(argument: str) -> timedelta: + """ + Parses a string that contains a time interval and converts it to a timedelta object. + """ + matches = TIME_RE.match(argument) + if matches: + params = {k: int(v) for k, v in matches.groupdict().items() if v} + if params: + return timedelta(**params) + return None + + +def parse_seconds(seconds) -> str: + """ + Take seconds and converts it to larger units + Returns parsed message string + """ + minutes, seconds = divmod(seconds, 60) + hours, minutes = divmod(minutes, 60) + days, hours = divmod(hours, 24) + weeks, days = divmod(days, 7) + months, weeks = divmod(weeks, 4) + msg = [] + + if months: + msg.append(f"{int(months)} {'months' if months > 1 else 'month'}") + if weeks: + msg.append(f"{int(weeks)} {'weeks' if weeks > 1 else 'week'}") + if days: + msg.append(f"{int(days)} {'days' if days > 1 else 'day'}") + if hours: + msg.append(f"{int(hours)} {'hours' if hours > 1 else 'hour'}") + if minutes: + msg.append(f"{int(minutes)} {'minutes' if minutes > 1 else 'minute'}") + if seconds: + msg.append(f"{int(seconds)} {'seconds' if seconds > 1 else 'second'}") + + return ", ".join(msg) + +def role_from_string(guild, role_name): + + role = discord.utils.find(lambda r: r.name == role_name, guild.roles) + # if couldnt find by role name, try to find by role id + if role is None: + role = discord.utils.find(lambda r: r.id == role_name, guild.roles) + + return role diff --git a/rolemanagement/core.py b/rolemanagement/core.py index 3c33ab9..f2cfde8 100644 --- a/rolemanagement/core.py +++ b/rolemanagement/core.py @@ -72,6 +72,7 @@ class RoleManagement( cost=0, subscription=0, subscribed_users={}, + dm_msg=None, ) # subscribed_users maps str(user.id)-> end time in unix timestamp self.config.register_member(roles=[], forbidden=[]) self.config.init_custom("REACTROLE", 2) @@ -381,6 +382,30 @@ class RoleManagement( else: await ctx.send(page) + @rgroup.command(name="dm-message") + async def rg_dm_message(self, ctx: GuildContext, role: discord.Role, *, msg: str = None): + """ + Set message to DM to user when they obtain the role. + Will send it in the channel they ran the command if DM fails to send. + + Run with no message to get the current message of the role. + Set message to message_clear to clear the message for the role. + """ + if not msg: + curr = await self.config.role(role).dm_msg() + if not curr: + await ctx.send("No message set for that role.") + else: + await ctx.send(curr) + return + elif msg.lower() == "message_clear": + await self.config.role(role).dm_msg.set(None) + await ctx.tick() + return + + await self.config.role(role).dm_msg.set(msg) + await ctx.tick() + @rgroup.command(name="viewrole") async def rg_view_role(self, ctx: GuildContext, *, role: discord.Role): """ @@ -403,6 +428,8 @@ class RoleManagement( if rsets["exclusive_to"]: rstring = ", ".join(r.name for r in ctx.guild.roles if r.id in rsets["exclusive_to"]) output += f"\nThis role is mutually exclusive to the following roles: {rstring}" + if rsets["dm_msg"]: + output += f"\nDM Message: {box(dm_msg)}" if rsets["cost"]: curr = await bank.get_currency_name(ctx.guild) cost = rsets["cost"] @@ -764,6 +791,7 @@ class RoleManagement( s.append(role.id) await self.update_roles_atomically(who=ctx.author, give=[role], remove=remove) + await self.dm_user(ctx, role) await ctx.tick() @selfrole.command(name="add") @@ -792,6 +820,7 @@ class RoleManagement( ) else: await self.update_roles_atomically(who=ctx.author, give=[role], remove=remove) + await self.dm_user(ctx, role) await ctx.tick() @selfrole.command(name="remove") @@ -851,6 +880,20 @@ class RoleManagement( react_m = f"{role.name} is bound to {emoji} on {link}" yield react_m + async def dm_user(self, ctx: GuildContext, role: discord.Role): + """ + DM user if dm_msg set for role. + """ + dm_msg = await self.config.role(role).dm_msg() + if not dm_msg: + return + + try: + await ctx.author.send(dm_msg) + except: + await ctx.send(f"Hey {ctx.author.mention}, please allow server members to DM you so I can send you messages! Here is the message for this role:") + await ctx.send(dm_msg) + async def get_react_role_entries(self, role: discord.Role) -> AsyncIterator[Tuple[str, str, dict]]: """ yields: