Compare commits

...

14 Commits
3.5.3 ... 3.5.4

Author SHA1 Message Date
github-actions[bot]
979a6aa9eb Version bump to 3.5.4 (#6233)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-12 16:26:04 +02:00
github-actions[bot]
0747b92653 Automated Crowdin downstream (#6234)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-12 14:25:40 +00:00
Jakub Kuczys
47cc879b80 Red 3.5.4 - Changelog (#6232) 2023-08-12 16:19:24 +02:00
Auguste Charpentier
b6471797cc Remove type-breaking annotation on cog_i18n decorator (#6231)
Co-authored-by: Jakub Kuczys <me@jacken.men>
2023-08-12 14:13:24 +00:00
Jakub Kuczys
742339a990 Bump dependencies (#6225) 2023-08-12 16:11:03 +02:00
aikaterna
e8c89d4d08 [Audio] Update Lavalink.jar build (#6221) 2023-08-12 04:50:43 +02:00
ADudeCalledLeo
483682dfb5 Fix Picarto channel avatar in Streams cog (#6230) 2023-08-12 04:50:10 +02:00
Jakub Kuczys
100de11ce6 Fix http errors for interaction deferring and message changes (#6229) 2023-08-11 02:51:36 +02:00
Jakub Kuczys
dbb91dfce8 Fix poor fuzzy results due to changes in rapidfuzz 3.0 (#6224)
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2023-08-09 22:03:21 -07:00
Jakub Kuczys
3ac2512c14 Fix local search's issue with bad escapes causing non-local playback (#6223) 2023-08-09 20:50:44 -07:00
Predä
a06a704365 Make use of dpy commands.Range on set status commands (#6227) 2023-08-10 03:15:41 +02:00
Predä
9e23c3a5b8 Add custom status support (#6226)
Co-authored-by: Jakub Kuczys <me@jacken.men>
2023-08-10 02:45:24 +02:00
Jakub Kuczys
1248927fb6 Update supported versions in the security policy (#6222) 2023-08-06 19:29:51 +02:00
github-actions[bot]
93b51acf31 Version bump to 3.5.4.dev1 (#6213)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 21:40:32 +02:00
72 changed files with 4570 additions and 4492 deletions

View File

@@ -1,5 +1,43 @@
.. Red changelogs .. Red changelogs
Redbot 3.5.4 (2023-08-12)
=========================
| Thanks to all these amazing people that contributed to this release:
| :ghuser:`aikaterna`, :ghuser:`Jackenmen`, :ghuser:`laggron42`, :ghuser:`Leo40Git`, :ghuser:`PredaaA`, :ghuser:`TrustyJAID`
Read before updating
--------------------
#. Information for Audio users that are using an external Lavalink instance (if you don't know what that is, you should skip this point):
Red 3.5.4 uses a new Lavalink jar that you will need to manually update from `our GitHub <https://github.com/Cog-Creators/Lavalink-Jars/releases/tag/3.7.8>`__.
End-user changelog
------------------
Additions
*********
- |cool| **Core - Bot Commands** - Added ``[p]set status custom`` command allowing the bot owner to change the bot's custom status (:issue:`6226`)
Changes
*******
- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6225`)
Fixes
*****
- **Core** - Fixed errors showing in logs when the button menu timed out and the original message no longer existed (:issue:`6228`, :issue:`6229`)
- |cool| **Cogs - Audio** - Fixed YT playback (:issue:`6221`)
- **Cogs - Audio** - Fixed poor quality of ``[p]local/queue search``'s results when case sensitive matching was involved (:issue:`6129`, :issue:`6224`)
- **Cogs - Audio** - Fixed ``[p]local search`` resorting to YT playback when file name involved certain characters such as ``-`` (:issue:`6223`)
- **Cogs - CustomCommands** - Fixed poor quality of ``[p]customcom search``'s results when case sensitive matching was involved (:issue:`6224`)
- **Cogs - Streams** - Fixed Picarto channels showing without the channel avatar (:issue:`6230`)
----
Redbot 3.5.3 (2023-07-24) Redbot 3.5.3 (2023-07-24)
========================= =========================

View File

@@ -3,15 +3,15 @@
## Supported Versions ## Supported Versions
The table below explains the current state of our versions. Currently, only version The table below explains the current state of our versions. Currently, only version
3.4 and higher are supported and receive security updates. Versions lower than 3.4 3.5 and higher are supported and receive security updates. Versions lower than 3.5
are considered End of Life and will not receive any security updates. are considered End of Life and will not receive any security updates.
| Version | Branch | Security Updates | End of Life | | Version | Branch | Security Updates | End of Life |
|---------------|------------|--------------------|--------------------| |---------------|------------|--------------------|--------------------|
| < 2.0 | master | :x: | :white_check_mark: | | < 2.0 | master | :x: | :white_check_mark: |
| >= 2.0, < 3.0 | develop | :x: | :white_check_mark: | | >= 2.0, < 3.0 | develop | :x: | :white_check_mark: |
| >= 3.0, < 3.4 | V3/develop | :x: | :white_check_mark: | | >= 3.0, < 3.5 | V3/develop | :x: | :white_check_mark: |
| >= 3.4 | V3/develop | :white_check_mark: | :x: | | >= 3.5 | V3/develop | :white_check_mark: | :x: |
## Reporting a Vulnerability ## Reporting a Vulnerability

View File

@@ -3769,6 +3769,35 @@ Maximum length for a competing status is 128 characters.
**Arguments:** **Arguments:**
- ``[competing]`` - The text to follow ``Competing in``. Leave blank to clear the current activity status. - ``[competing]`` - The text to follow ``Competing in``. Leave blank to clear the current activity status.
.. _core-command-set-status-custom:
"""""""""""""""""
set status custom
"""""""""""""""""
.. note:: |owner-lock|
**Syntax**
.. code-block:: none
[p]set status custom [text]
**Description**
Sets Red's custom status.
This will appear as ``<text>``.
Maximum length for a custom status is 128 characters.
**Examples:**
- ``[p]set status custom`` - Clears the activity status.
- ``[p]set status custom Running cogs...``
**Arguments:**
- ``[text]`` - The custom status text. Leave blank to clear the current activity status.
.. _core-command-set-status-dnd: .. _core-command-set-status-dnd:
"""""""""""""" """"""""""""""

View File

@@ -339,7 +339,7 @@ def _early_init():
# This is bumped automatically by release workflow (`.github/workflows/scripts/bump_version.py`) # This is bumped automatically by release workflow (`.github/workflows/scripts/bump_version.py`)
_VERSION = "3.5.3" _VERSION = "3.5.4"
__version__, version_info = VersionInfo._get_version() __version__, version_info = VersionInfo._get_version()

View File

@@ -7,7 +7,7 @@ import discord
import lavalink import lavalink
from red_commons.logging import getLogger from red_commons.logging import getLogger
from rapidfuzz import process import rapidfuzz
from redbot.core import commands from redbot.core import commands
from redbot.core.i18n import Translator from redbot.core.i18n import Translator
from redbot.core.utils import AsyncIter from redbot.core.utils import AsyncIter
@@ -116,13 +116,15 @@ class LocalTrackUtilities(MixinMeta, metaclass=CompositeMetaClass):
to_search_string = { to_search_string = {
i.local_track_path.name for i in to_search if i.local_track_path is not None i.local_track_path.name for i in to_search if i.local_track_path is not None
} }
search_results = process.extract(search_words, to_search_string, limit=50) search_results = rapidfuzz.process.extract(
search_words, to_search_string, limit=50, processor=rapidfuzz.utils.default_process
)
search_list = [] search_list = []
async for track_match, percent_match, __ in AsyncIter(search_results): async for track_match, percent_match, __ in AsyncIter(search_results):
if percent_match > 85: if percent_match > 85:
search_list.extend( search_list.extend(
[ [
discord.utils.escape_markdown(i.to_string_user()) i.to_string_user()
for i in to_search for i in to_search
if i.local_track_path is not None if i.local_track_path is not None
and i.local_track_path.name == track_match and i.local_track_path.name == track_match

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Arabic\n" "Language-Team: Arabic\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -475,11 +475,11 @@ msgstr "عشوائي"
msgid "Repeat" msgid "Repeat"
msgstr "كرر" msgstr "كرر"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "مسارات المطابقة:" msgstr "مسارات المطابقة:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Bulgarian\n" "Language-Team: Bulgarian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -471,11 +471,11 @@ msgstr ""
msgid "Repeat" msgid "Repeat"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Czech\n" "Language-Team: Czech\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "Náhodně"
msgid "Repeat" msgid "Repeat"
msgstr "Opakovat" msgstr "Opakovat"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "Odpovídající skladby:" msgstr "Odpovídající skladby:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Danish\n" "Language-Team: Danish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -471,11 +471,11 @@ msgstr ""
msgid "Repeat" msgid "Repeat"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: German\n" "Language-Team: German\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "Zufällige Wiedergabe"
msgid "Repeat" msgid "Repeat"
msgstr "Wiederholen" msgstr "Wiederholen"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "Passende Titel:" msgstr "Passende Titel:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "Seite {page_num}/{total_pages} | {num_tracks} Titel" msgstr "Seite {page_num}/{total_pages} | {num_tracks} Titel"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Finnish\n" "Language-Team: Finnish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "Sekoitus"
msgid "Repeat" msgid "Repeat"
msgstr "Uudelleentoisto" msgstr "Uudelleentoisto"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "Vastaavat kappaleet:" msgstr "Vastaavat kappaleet:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "Sivu {page_num}/{total_pages} | {num_tracks} kappaletta" msgstr "Sivu {page_num}/{total_pages} | {num_tracks} kappaletta"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: French\n" "Language-Team: French\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "Aléatoire"
msgid "Repeat" msgid "Repeat"
msgstr "Répétition" msgstr "Répétition"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "Pistes correspondantes :" msgstr "Pistes correspondantes :"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "Page {page_num}/{total_pages} | {num_tracks} pistes" msgstr "Page {page_num}/{total_pages} | {num_tracks} pistes"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Croatian\n" "Language-Team: Croatian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "Nasumična reprodukcija"
msgid "Repeat" msgid "Repeat"
msgstr "Ponavljanje" msgstr "Ponavljanje"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "Odgovarajuće pjesme:" msgstr "Odgovarajuće pjesme:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "Stranica {page_num}/{total_pages} | {num_tracks} pjesama" msgstr "Stranica {page_num}/{total_pages} | {num_tracks} pjesama"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Dutch\n" "Language-Team: Dutch\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -472,11 +472,11 @@ msgstr "Shuffle"
msgid "Repeat" msgid "Repeat"
msgstr "Herhalen" msgstr "Herhalen"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Simplified\n" "Language-Team: Chinese Simplified\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -472,11 +472,11 @@ msgstr "随机播放"
msgid "Repeat" msgid "Repeat"
msgstr "重复" msgstr "重复"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "" msgstr ""
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-11 20:55+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Traditional\n" "Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -483,11 +483,11 @@ msgstr "隨機播放"
msgid "Repeat" msgid "Repeat"
msgstr "重複播放" msgstr "重複播放"
#: redbot/cogs/audio/core/utilities/queue.py:159 #: redbot/cogs/audio/core/utilities/queue.py:161
msgid "Matching Tracks:" msgid "Matching Tracks:"
msgstr "符合的曲目:" msgstr "符合的曲目:"
#: redbot/cogs/audio/core/utilities/queue.py:162 #: redbot/cogs/audio/core/utilities/queue.py:164
msgid "Page {page_num}/{total_pages} | {num_tracks} tracks" msgid "Page {page_num}/{total_pages} | {num_tracks} tracks"
msgstr "第 {page_num} 頁/共 {total_pages} 頁 | {num_tracks} 首歌曲" msgstr "第 {page_num} 頁/共 {total_pages} 頁 | {num_tracks} 首歌曲"

View File

@@ -7,7 +7,7 @@ import discord
import lavalink import lavalink
from red_commons.logging import getLogger from red_commons.logging import getLogger
from rapidfuzz import process import rapidfuzz
from redbot.core import commands from redbot.core import commands
from redbot.core.i18n import Translator from redbot.core.i18n import Translator
from redbot.core.utils import AsyncIter from redbot.core.utils import AsyncIter
@@ -132,7 +132,9 @@ class QueueUtilities(MixinMeta, metaclass=CompositeMetaClass):
track_title = track.title track_title = track.title
tracks[queue_idx] = track_title tracks[queue_idx] = track_title
search_results = process.extract(search_words, tracks, limit=50) search_results = rapidfuzz.process.extract(
search_words, tracks, limit=50, processor=rapidfuzz.utils.default_process
)
search_list = [] search_list = []
async for title, percent_match, queue_position in AsyncIter(search_results): async for title, percent_match, queue_position in AsyncIter(search_results):
if percent_match > 89: if percent_match > 89:

View File

@@ -264,7 +264,7 @@ class LavalinkVersion:
class ServerManager: class ServerManager:
JAR_VERSION: Final[str] = LavalinkVersion(3, 7, 5) JAR_VERSION: Final[str] = LavalinkVersion(3, 7, 8)
LAVALINK_DOWNLOAD_URL: Final[str] = ( LAVALINK_DOWNLOAD_URL: Final[str] = (
"https://github.com/Cog-Creators/Lavalink-Jars/releases/download/" "https://github.com/Cog-Creators/Lavalink-Jars/releases/download/"
f"{JAR_VERSION}/" f"{JAR_VERSION}/"

View File

@@ -6,7 +6,7 @@ from typing import Iterable, List, Mapping, Tuple, Dict, Set, Literal, Union
from urllib.parse import quote_plus from urllib.parse import quote_plus
import discord import discord
from rapidfuzz import process import rapidfuzz
from redbot.core import Config, commands from redbot.core import Config, commands
from redbot.core.commands import Parameter from redbot.core.commands import Parameter
@@ -324,7 +324,9 @@ class CustomCommands(commands.Cog):
- `<query>` The query to search for. Can be multiple words. - `<query>` The query to search for. Can be multiple words.
""" """
cc_commands = await CommandObj.get_commands(self.config.guild(ctx.guild)) cc_commands = await CommandObj.get_commands(self.config.guild(ctx.guild))
extracted = process.extract(query, list(cc_commands.keys())) extracted = rapidfuzz.process.extract(
query, list(cc_commands.keys()), processor=rapidfuzz.utils.default_process
)
accepted = [] accepted = []
for key, score, __ in extracted: for key, score, __ in extracted:
if score > 60: if score > 60:

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Arabic\n" "Language-Team: Arabic\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -88,19 +88,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -113,7 +113,7 @@ msgstr "إنشاء أوامر مخصصة.\n\n"
" [here]()\n" " [here]()\n"
" " " "
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -122,38 +122,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "يوجد بالفعل أمر بوت بنفس الاسم." msgstr "يوجد بالفعل أمر بوت بنفس الاسم."
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "تم إلغاء عملية الأوامر المخصصة." msgstr "تم إلغاء عملية الأوامر المخصصة."
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "تم إضافة الأمر المخصص بنجاح." msgstr "تم إضافة الأمر المخصص بنجاح."
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "هذا الأمر موجود بالفعل. استخدم `{command}` لتعديله." msgstr "هذا الأمر موجود بالفعل. استخدم `{command}` لتعديله."
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -164,7 +164,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -181,33 +181,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "هذا الأمر غير موجود." msgstr "هذا الأمر غير موجود."
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "يجوز {} استخدام هذا الأمر كل {} ثانية" msgstr "يجوز {} استخدام هذا الأمر كل {} ثانية"
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "هذا الأمر ليس له تبريد." msgstr "هذا الأمر ليس له تبريد."
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} يجب أن تكون واحدة من {}" msgstr "{} يجب أن تكون واحدة من {}"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "تم تعديل أمر تبريد مخصص بنجاح." msgstr "تم تعديل أمر تبريد مخصص بنجاح."
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "هذا الأمر غير موجود. استخدم `{command}` لإضافته." msgstr "هذا الأمر غير موجود. استخدم `{command}` لإضافته."
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -217,11 +217,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "تم حذف الأمر المخصص بنجاح." msgstr "تم حذف الأمر المخصص بنجاح."
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -232,11 +232,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "تم تعديل الأمر المخصص بنجاح." msgstr "تم تعديل الأمر المخصص بنجاح."
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -247,19 +247,19 @@ msgstr "قائمة جميع الأوامر المخصصة المتاحة.\n\n"
" حررت من الدرك واستعيض عن الخطوط الجديدة بمسافات.\n" " حررت من الدرك واستعيض عن الخطوط الجديدة بمسافات.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "لا توجد أوامر مخصصة في هذا الخادم. استخدم `{command}` لبدء إضافة البعض." msgstr "لا توجد أوامر مخصصة في هذا الخادم. استخدم `{command}` لبدء إضافة البعض."
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "قائمة الأوامر المخصصة" msgstr "قائمة الأوامر المخصصة"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "الصفحة {num}/{total}" msgstr "الصفحة {num}/{total}"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -267,50 +267,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "لم أتمكن من العثور على هذا الأمر المخصص." msgstr "لم أتمكن من العثور على هذا الأمر المخصص."
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "عشوائي" msgstr "عشوائي"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "عادي" msgstr "عادي"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "يجب أن تكون الحجج متتابعة. الحجج المفقودة: " msgstr "يجب أن تكون الحجج متتابعة. الحجج المفقودة: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Bulgarian\n" "Language-Team: Bulgarian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -87,19 +87,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -108,7 +108,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -117,38 +117,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -159,7 +159,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -176,33 +176,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -212,11 +212,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -227,11 +227,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -239,19 +239,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -259,50 +259,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Czech\n" "Language-Team: Czech\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -100,19 +100,19 @@ msgstr "\n"
" -`<query>` Dotaz, který se má vyhledat. Může obsahovat více slov.\n" " -`<query>` Dotaz, který se má vyhledat. Může obsahovat více slov.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "Žádné blízké odpovídající záznamy nebyly nalezeny." msgstr "Žádné blízké odpovídající záznamy nebyly nalezeny."
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "Výsledky hledání" msgstr "Výsledky hledání"
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "Byly nalezeny tyto záznamy odpovidající vyhledavaní:" msgstr "Byly nalezeny tyto záznamy odpovidající vyhledavaní:"
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -121,7 +121,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -130,38 +130,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "Vlastní příkaz byl zrušen." msgstr "Vlastní příkaz byl zrušen."
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "Vlastní příkaz byl úspěšně přidán." msgstr "Vlastní příkaz byl úspěšně přidán."
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -172,7 +172,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -189,33 +189,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "Tento příkaz neexistuje." msgstr "Tento příkaz neexistuje."
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} musí být jeden z {}" msgstr "{} musí být jeden z {}"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "Tento příkaz neexistuje. Použijte `{command}` pro jeho přidání." msgstr "Tento příkaz neexistuje. Použijte `{command}` pro jeho přidání."
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -225,11 +225,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -240,11 +240,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "Vlastní příkaz byl úspěšně upraven." msgstr "Vlastní příkaz byl úspěšně upraven."
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -252,19 +252,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "Na tomto serveru nejsou žádné vlastní příkazy. Použij `{command}` pro začátek přidávání." msgstr "Na tomto serveru nejsou žádné vlastní příkazy. Použij `{command}` pro začátek přidávání."
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "Seznam vlastních příkazů" msgstr "Seznam vlastních příkazů"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "Strana {num}/{total}" msgstr "Strana {num}/{total}"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -272,50 +272,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "Nemohu najít tento vlastní příkaz." msgstr "Nemohu najít tento vlastní příkaz."
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "Náhodně" msgstr "Náhodně"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "Normální" msgstr "Normální"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "Odpovědi:\n" msgstr "Odpovědi:\n"
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "Příliš mnoho argumentů!" msgstr "Příliš mnoho argumentů!"
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "Argumenty musí být sekvenční. Chybějící argumenty: " msgstr "Argumenty musí být sekvenční. Chybějící argumenty: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Danish\n" "Language-Team: Danish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -88,19 +88,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -109,7 +109,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -118,38 +118,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -160,7 +160,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -177,33 +177,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -213,11 +213,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -228,11 +228,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -240,19 +240,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -260,50 +260,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: German\n" "Language-Team: German\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -89,19 +89,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "Keine Ergebnisse gefunden." msgstr "Keine Ergebnisse gefunden."
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "Suchergebnisse" msgstr "Suchergebnisse"
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "Folgendes wurde gefunden:" msgstr "Folgendes wurde gefunden:"
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -114,7 +114,7 @@ msgstr "Erstelle einen benutzerdefinierten Befehl.\n\n"
" [Dokumentation](https://docs.discord.red/en/stable/cog_customcom.html).\n" " [Dokumentation](https://docs.discord.red/en/stable/cog_customcom.html).\n"
" " " "
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -123,38 +123,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "Benutzerdefinierte Befehle dürfen keine Leerzeichen enthalten." msgstr "Benutzerdefinierte Befehle dürfen keine Leerzeichen enthalten."
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "Es existiert bereits ein Befehl des Bots mit diesem Namen." msgstr "Es existiert bereits ein Befehl des Bots mit diesem Namen."
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "Der Vorgang, zum Erstellen eines benutzedefinierten Befehls, wurde abgebrochen." msgstr "Der Vorgang, zum Erstellen eines benutzedefinierten Befehls, wurde abgebrochen."
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "Benutzerdefinierter Befehl erfolgreich hinzugefügt." msgstr "Benutzerdefinierter Befehl erfolgreich hinzugefügt."
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "Dieser Befehl ist bereits vorhanden. Verwende `{command}` um ihn zu editieren." msgstr "Dieser Befehl ist bereits vorhanden. Verwende `{command}` um ihn zu editieren."
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -165,7 +165,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -182,33 +182,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "Dieser Befehl existiert nicht." msgstr "Dieser Befehl existiert nicht."
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "Ein {} darf diesen Befehl alle {} Sekunden aufrufen" msgstr "Ein {} darf diesen Befehl alle {} Sekunden aufrufen"
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "Dieser Befehl hat keine Abklingzeit." msgstr "Dieser Befehl hat keine Abklingzeit."
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} muss einer von {} sein" msgstr "{} muss einer von {} sein"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "Abklingzeit des benutzerdefinierten Befehls erfolgreich bearbeitet." msgstr "Abklingzeit des benutzerdefinierten Befehls erfolgreich bearbeitet."
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "Dieser Befehl existiert nicht. Verwende `{command}`, um ihn hinzuzufügen." msgstr "Dieser Befehl existiert nicht. Verwende `{command}`, um ihn hinzuzufügen."
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -218,11 +218,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "Benutzerdefinierter Befehl erfolgreich gelöscht." msgstr "Benutzerdefinierter Befehl erfolgreich gelöscht."
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -233,11 +233,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "Benutzerdefinierter Befehl erfolgreich bearbeitet." msgstr "Benutzerdefinierter Befehl erfolgreich bearbeitet."
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -248,19 +248,19 @@ msgstr "Listet alle verfügbaren benutzerdefinierten Befehle auf.\n\n"
" mit escaped Markdown und Zeilenumbrüche durch Leerzeichen ersetzt.\n" " mit escaped Markdown und Zeilenumbrüche durch Leerzeichen ersetzt.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "Es existieren keine benutzerdefinierten Befehle auf diesem Server. Verwende `{command}`, um welche hinzuzufügen." msgstr "Es existieren keine benutzerdefinierten Befehle auf diesem Server. Verwende `{command}`, um welche hinzuzufügen."
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "Liste der benutzerdefinierten Befehle" msgstr "Liste der benutzerdefinierten Befehle"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "Seite {num}/{total}" msgstr "Seite {num}/{total}"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -268,23 +268,23 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "Ich konnte diesen benutzerdefinierten Befehl nicht finden." msgstr "Ich konnte diesen benutzerdefinierten Befehl nicht finden."
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "Zufall" msgstr "Zufall"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
@@ -294,27 +294,27 @@ msgstr "Befehl: {command_name}\n"
"Erstellt: {created_at}\n" "Erstellt: {created_at}\n"
"Typ: {type}\n" "Typ: {type}\n"
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "Cooldown:\n" msgstr "Cooldown:\n"
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "{num} Sekunden pro {period}\n" msgstr "{num} Sekunden pro {period}\n"
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "Antworten:\n" msgstr "Antworten:\n"
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "Zu viele Argumente!" msgstr "Zu viele Argumente!"
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "Argumente müssen sequentiell sein. Fehlende Argumente: " msgstr "Argumente müssen sequentiell sein. Fehlende Argumente: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "Widersprüchliche Doppelpunkt Schreibweise für Argument {index}: \"{name1}\" und \"{name2}\"." msgstr "Widersprüchliche Doppelpunkt Schreibweise für Argument {index}: \"{name1}\" und \"{name2}\"."

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Finnish\n" "Language-Team: Finnish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -87,19 +87,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -108,7 +108,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -117,38 +117,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -159,7 +159,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -176,33 +176,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -212,11 +212,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -227,11 +227,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -239,19 +239,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -259,50 +259,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: French\n" "Language-Team: French\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -96,19 +96,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "Aucune correspondance proche n'a été trouvée." msgstr "Aucune correspondance proche n'a été trouvée."
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "Résultats de la recherche" msgstr "Résultats de la recherche"
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "Les correspondances suivantes ont été trouvées:" msgstr "Les correspondances suivantes ont été trouvées:"
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -121,7 +121,7 @@ msgstr "Créer des commandes personnalisées.\n\n"
" [here](https://docs. iscord.red/fr/stable/cog_customcom.html).\n" " [here](https://docs. iscord.red/fr/stable/cog_customcom.html).\n"
" " " "
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -133,38 +133,38 @@ msgstr "Créez un CC qui choisira une réponse au hasard !\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
" - `<command>` La commande exécutée pour retourner le texte. Mettre en minuscule. " " - `<command>` La commande exécutée pour retourner le texte. Mettre en minuscule. "
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "Les noms de commandes personnalisées ne peuvent pas contenir d'espaces." msgstr "Les noms de commandes personnalisées ne peuvent pas contenir d'espaces."
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "Il existe déjà une commande du bot avec le même nom." msgstr "Il existe déjà une commande du bot avec le même nom."
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "Processus de commande personnalisée annulé." msgstr "Processus de commande personnalisée annulé."
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "Commande personnalisée ajoutée avec succès." msgstr "Commande personnalisée ajoutée avec succès."
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "Cette commande existe déjà. Utilisez `{command}` pour la modifier." msgstr "Cette commande existe déjà. Utilisez `{command}` pour la modifier."
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -175,7 +175,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -192,33 +192,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "Cette commande n'existe pas." msgstr "Cette commande n'existe pas."
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "Un {} peut appeler cette commande toutes les {} secondes" msgstr "Un {} peut appeler cette commande toutes les {} secondes"
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "Cette commande n'a pas de cooldown." msgstr "Cette commande n'a pas de cooldown."
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} doit être l'un des {}" msgstr "{} doit être l'un des {}"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "Le cooldown de commande personnalisé a été modifié avec succès." msgstr "Le cooldown de commande personnalisé a été modifié avec succès."
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "Cette commande n'existe pas. Utilisez `{command}` pour l'ajouter." msgstr "Cette commande n'existe pas. Utilisez `{command}` pour l'ajouter."
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -228,11 +228,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "La commande personnalisée a été supprimée avec succès." msgstr "La commande personnalisée a été supprimée avec succès."
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -243,11 +243,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "Commande personnalisée modifiée avec succès." msgstr "Commande personnalisée modifiée avec succès."
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -258,19 +258,19 @@ msgstr "Énumérez toutes les commandes personnalisées disponibles.\n\n"
" le code markdown affiché et les nouvelles lignes remplacées par des espaces.\n" " le code markdown affiché et les nouvelles lignes remplacées par des espaces.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "Il n'y a pas de commandes personnalisées dans ce serveur. Utilisez `{command}` pour commencer à en ajouter." msgstr "Il n'y a pas de commandes personnalisées dans ce serveur. Utilisez `{command}` pour commencer à en ajouter."
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "Liste de commandes personnalisées" msgstr "Liste de commandes personnalisées"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "Page {num}/{total}" msgstr "Page {num}/{total}"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -281,23 +281,23 @@ msgstr "Affiche les réponses d'une commande personnalisée et ses paramètres.\
" - `<command_name>` La commande personnalisée à afficher.\n" " - `<command_name>` La commande personnalisée à afficher.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "Je n'ai pas pu trouver cette commande personnalisée." msgstr "Je n'ai pas pu trouver cette commande personnalisée."
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "Utilisateur supprimé" msgstr "Utilisateur supprimé"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "Aléatoire" msgstr "Aléatoire"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
@@ -307,27 +307,27 @@ msgstr "Commande : {command_name}\n"
"Créé le : {created_at}\n" "Créé le : {created_at}\n"
"Type : {type}\n" "Type : {type}\n"
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "Cooldowns :\n" msgstr "Cooldowns :\n"
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "{num} secondes par {period}\n" msgstr "{num} secondes par {period}\n"
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "Réponses :\n" msgstr "Réponses :\n"
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "Trop d'arguments !" msgstr "Trop d'arguments !"
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "Les arguments doivent être séquentiels. Arguments manquants : " msgstr "Les arguments doivent être séquentiels. Arguments manquants : "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "Entrée de deux points contradictoire pour l'argument {index}: \"{name1}\" and \"{name2}\"." msgstr "Entrée de deux points contradictoire pour l'argument {index}: \"{name1}\" and \"{name2}\"."

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Croatian\n" "Language-Team: Croatian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -87,19 +87,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -108,7 +108,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -117,38 +117,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -159,7 +159,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -176,33 +176,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "Ta naredba ne postoji." msgstr "Ta naredba ne postoji."
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "{} može pokrenuti ovu naredbu svakih {} sekundi" msgstr "{} može pokrenuti ovu naredbu svakih {} sekundi"
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "Ova naredba nema hlađenje." msgstr "Ova naredba nema hlađenje."
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} mora biti jedan od {}" msgstr "{} mora biti jedan od {}"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "Hlađenje prilagođene naredbe uspješno je uređeno." msgstr "Hlađenje prilagođene naredbe uspješno je uređeno."
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "Ta naredba ne postoji. Upotrijebite `{command}` da ju dodate." msgstr "Ta naredba ne postoji. Upotrijebite `{command}` da ju dodate."
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -212,11 +212,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "Prilagođena naredba je uspješno izbrisana." msgstr "Prilagođena naredba je uspješno izbrisana."
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -227,11 +227,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "Prilagođena naredba je uspješno uređena." msgstr "Prilagođena naredba je uspješno uređena."
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -242,19 +242,19 @@ msgstr "Popis svih dostupnih prilagođenih naredbi.\n\n"
" oznakama i novim redovima zamijenjenim razmacima.\n" " oznakama i novim redovima zamijenjenim razmacima.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "U ovom serveru nema prilagođenih naredbi. Upotrijebite `{command}` za početak dodavanja." msgstr "U ovom serveru nema prilagođenih naredbi. Upotrijebite `{command}` za početak dodavanja."
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "Popis prilagođenih naredbi" msgstr "Popis prilagođenih naredbi"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "Stranica {num}/{total}" msgstr "Stranica {num}/{total}"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -265,23 +265,23 @@ msgstr "Prikazuje odgovore prilagođene naredbe i njezine postavke.\n\n"
" - `<command_name>` Prilagođena naredba za prikaz.\n" " - `<command_name>` Prilagođena naredba za prikaz.\n"
" " " "
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "Nisam mogao pronaći tu prilagođenu naredbu." msgstr "Nisam mogao pronaći tu prilagođenu naredbu."
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "Izbrisan korisnik" msgstr "Izbrisan korisnik"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "Nasumična" msgstr "Nasumična"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "Normalna" msgstr "Normalna"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
@@ -291,27 +291,27 @@ msgstr "Naredba: {command_name}\n"
"Kreirao: {created_at}\n" "Kreirao: {created_at}\n"
"Vrsta: {type}\n" "Vrsta: {type}\n"
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "Hlađenje:\n" msgstr "Hlađenje:\n"
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "{num} sekundi po {period}\n" msgstr "{num} sekundi po {period}\n"
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "Odgovori:\n" msgstr "Odgovori:\n"
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "Previše argumenata!" msgstr "Previše argumenata!"
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "Argumenti moraju biti uzastopni. Nedostajući argumenti: " msgstr "Argumenti moraju biti uzastopni. Nedostajući argumenti: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Dutch\n" "Language-Team: Dutch\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -97,19 +97,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "Er zijn geen overeenkomsten gevonden." msgstr "Er zijn geen overeenkomsten gevonden."
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "Zoek resultaten" msgstr "Zoek resultaten"
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -118,7 +118,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -127,38 +127,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -169,7 +169,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -186,33 +186,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -222,11 +222,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -237,11 +237,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -249,19 +249,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -269,50 +269,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "Argumenten moeten sequentieel zijn. Ontbrekende argumenten: " msgstr "Argumenten moeten sequentieel zijn. Ontbrekende argumenten: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Simplified\n" "Language-Team: Chinese Simplified\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -87,19 +87,19 @@ msgid "\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -108,7 +108,7 @@ msgid "Create custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -117,38 +117,38 @@ msgid "Create a CC where it will randomly choose a response!\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -159,7 +159,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -176,33 +176,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -212,11 +212,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -227,11 +227,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -239,19 +239,19 @@ msgid "List all available custom commands.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -259,50 +259,50 @@ msgid "Shows a custom command's responses and its settings.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
"Type: {type}\n" "Type: {type}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-13 10:40+0000\n" "POT-Creation-Date: 2023-08-10 05:03+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Traditional\n" "Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -101,19 +101,19 @@ msgstr "\n"
" **參數:**\n\n" " **參數:**\n\n"
" - `<query>` 要搜索的查詢。 可以是多個單詞。" " - `<query>` 要搜索的查詢。 可以是多個單詞。"
#: redbot/cogs/customcom/customcom.py:337 #: redbot/cogs/customcom/customcom.py:339
msgid "No close matches were found." msgid "No close matches were found."
msgstr "沒有符合的結果。" msgstr "沒有符合的結果。"
#: redbot/cogs/customcom/customcom.py:342 #: redbot/cogs/customcom/customcom.py:344
msgid "Search results" msgid "Search results"
msgstr "查詢結果" msgstr "查詢結果"
#: redbot/cogs/customcom/customcom.py:347 #: redbot/cogs/customcom/customcom.py:349
msgid "The following matches have been found:" msgid "The following matches have been found:"
msgstr "已找到以下匹配的項目:" msgstr "已找到以下匹配的項目:"
#: redbot/cogs/customcom/customcom.py:352 #: redbot/cogs/customcom/customcom.py:354
#, docstring #, docstring
msgid "Create custom commands.\n\n" msgid "Create custom commands.\n\n"
" If a type is not specified, a simple CC will be created.\n" " If a type is not specified, a simple CC will be created.\n"
@@ -126,7 +126,7 @@ msgstr "創建自定義指令。\n\n"
" [here](https://docs.discord.red/en/stable/cog_customcom.html)。\n" " [here](https://docs.discord.red/en/stable/cog_customcom.html)。\n"
" " " "
#: redbot/cogs/customcom/customcom.py:363 #: redbot/cogs/customcom/customcom.py:365
#, docstring #, docstring
msgid "Create a CC where it will randomly choose a response!\n\n" msgid "Create a CC where it will randomly choose a response!\n\n"
" Note: This command is interactive.\n\n" " Note: This command is interactive.\n\n"
@@ -139,39 +139,39 @@ msgstr "創建一個 CC它將隨機選擇一個響應\n\n"
" - `<command>` 為返回文本而執行的指令。 轉換為小寫。\n" " - `<command>` 為返回文本而執行的指令。 轉換為小寫。\n"
" " " "
#: redbot/cogs/customcom/customcom.py:373 #: redbot/cogs/customcom/customcom.py:375
#: redbot/cogs/customcom/customcom.py:414 #: redbot/cogs/customcom/customcom.py:416
msgid "Custom command names cannot have spaces in them." msgid "Custom command names cannot have spaces in them."
msgstr "自定義指令名稱中不能有空格。" msgstr "自定義指令名稱中不能有空格。"
#: redbot/cogs/customcom/customcom.py:376 #: redbot/cogs/customcom/customcom.py:378
#: redbot/cogs/customcom/customcom.py:417 #: redbot/cogs/customcom/customcom.py:419
msgid "There already exists a bot command with the same name." msgid "There already exists a bot command with the same name."
msgstr "已存在相同名稱的指令。" msgstr "已存在相同名稱的指令。"
#: redbot/cogs/customcom/customcom.py:380 #: redbot/cogs/customcom/customcom.py:382
msgid "Custom command process cancelled." msgid "Custom command process cancelled."
msgstr "自定義指令進程已取消。" msgstr "自定義指令進程已取消。"
#: redbot/cogs/customcom/customcom.py:384 #: redbot/cogs/customcom/customcom.py:386
#: redbot/cogs/customcom/customcom.py:421 #: redbot/cogs/customcom/customcom.py:423
msgid "Custom command successfully added." msgid "Custom command successfully added."
msgstr "已成功新增自定義指令。" msgstr "已成功新增自定義指令。"
#: redbot/cogs/customcom/customcom.py:387 #: redbot/cogs/customcom/customcom.py:389
#: redbot/cogs/customcom/customcom.py:424 #: redbot/cogs/customcom/customcom.py:426
msgid "This command already exists. Use `{command}` to edit it." msgid "This command already exists. Use `{command}` to edit it."
msgstr "此指令已存在。使用 `{command}` 來編輯它。" msgstr "此指令已存在。使用 `{command}` 來編輯它。"
#: redbot/cogs/customcom/customcom.py:393 #: redbot/cogs/customcom/customcom.py:395
#: redbot/cogs/customcom/customcom.py:432 #: redbot/cogs/customcom/customcom.py:434
#: redbot/cogs/customcom/customcom.py:535 #: redbot/cogs/customcom/customcom.py:537
msgid "The text response you're trying to create has more than 2000 characters.\n" msgid "The text response you're trying to create has more than 2000 characters.\n"
"I cannot send messages that are longer than 2000 characters." "I cannot send messages that are longer than 2000 characters."
msgstr "您嘗試創建的文本回覆超過 2000 個字符。\n" msgstr "您嘗試創建的文本回覆超過 2000 個字符。\n"
"我無法發送超過 2000 個字符的訊息。" "我無法發送超過 2000 個字符的訊息。"
#: redbot/cogs/customcom/customcom.py:402 #: redbot/cogs/customcom/customcom.py:404
#, docstring #, docstring
msgid "Add a simple custom command.\n\n" msgid "Add a simple custom command.\n\n"
" Example:\n" " Example:\n"
@@ -182,7 +182,7 @@ msgid "Add a simple custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:443 #: redbot/cogs/customcom/customcom.py:445
#, docstring #, docstring
msgid "Set, edit, or view the cooldown for a custom command.\n\n" msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" You may set cooldowns per member, channel, or guild. Multiple\n" " You may set cooldowns per member, channel, or guild. Multiple\n"
@@ -199,33 +199,33 @@ msgid "Set, edit, or view the cooldown for a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:464 #: redbot/cogs/customcom/customcom.py:466
#: redbot/cogs/customcom/customcom.py:505 #: redbot/cogs/customcom/customcom.py:507
msgid "That command doesn't exist." msgid "That command doesn't exist."
msgstr "這個指令不存在。" msgstr "這個指令不存在。"
#: redbot/cogs/customcom/customcom.py:469 #: redbot/cogs/customcom/customcom.py:471
msgid "A {} may call this command every {} seconds" msgid "A {} may call this command every {} seconds"
msgstr "{} 可以每 {} 秒使用一次此指令" msgstr "{} 可以每 {} 秒使用一次此指令"
#: redbot/cogs/customcom/customcom.py:473 #: redbot/cogs/customcom/customcom.py:475
msgid "This command has no cooldown." msgid "This command has no cooldown."
msgstr "此指令沒有冷卻時間。" msgstr "此指令沒有冷卻時間。"
#: redbot/cogs/customcom/customcom.py:477 #: redbot/cogs/customcom/customcom.py:479
msgid "{} must be one of {}" msgid "{} must be one of {}"
msgstr "{} 必須是 {} 之一" msgstr "{} 必須是 {} 之一"
#: redbot/cogs/customcom/customcom.py:481 #: redbot/cogs/customcom/customcom.py:483
msgid "Custom command cooldown successfully edited." msgid "Custom command cooldown successfully edited."
msgstr "已成功編輯自定義指令冷卻時間。" msgstr "已成功編輯自定義指令冷卻時間。"
#: redbot/cogs/customcom/customcom.py:484 #: redbot/cogs/customcom/customcom.py:486
#: redbot/cogs/customcom/customcom.py:525 #: redbot/cogs/customcom/customcom.py:527
msgid "That command doesn't exist. Use `{command}` to add it." msgid "That command doesn't exist. Use `{command}` to add it."
msgstr "該命令不存在。使用 `{command}` 添加它。" msgstr "該命令不存在。使用 `{command}` 添加它。"
#: redbot/cogs/customcom/customcom.py:492 #: redbot/cogs/customcom/customcom.py:494
#, docstring #, docstring
msgid "Delete a custom command.\n\n" msgid "Delete a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -235,11 +235,11 @@ msgid "Delete a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:503 #: redbot/cogs/customcom/customcom.py:505
msgid "Custom command successfully deleted." msgid "Custom command successfully deleted."
msgstr "自定義指令已成功刪除。" msgstr "自定義指令已成功刪除。"
#: redbot/cogs/customcom/customcom.py:510 #: redbot/cogs/customcom/customcom.py:512
#, docstring #, docstring
msgid "Edit a custom command.\n\n" msgid "Edit a custom command.\n\n"
" Example:\n" " Example:\n"
@@ -250,11 +250,11 @@ msgid "Edit a custom command.\n\n"
" " " "
msgstr "" msgstr ""
#: redbot/cogs/customcom/customcom.py:522 #: redbot/cogs/customcom/customcom.py:524
msgid "Custom command successfully edited." msgid "Custom command successfully edited."
msgstr "自定義指令已成功編輯。" msgstr "自定義指令已成功編輯。"
#: redbot/cogs/customcom/customcom.py:544 #: redbot/cogs/customcom/customcom.py:546
#, docstring #, docstring
msgid "List all available custom commands.\n\n" msgid "List all available custom commands.\n\n"
" The list displays a preview of each command's response, with\n" " The list displays a preview of each command's response, with\n"
@@ -265,19 +265,19 @@ msgstr "列出所有可用的自定義指令。\n\n"
" 轉譯了 markdown 並用空格替換了換行符。\n" " 轉譯了 markdown 並用空格替換了換行符。\n"
" " " "
#: redbot/cogs/customcom/customcom.py:553 #: redbot/cogs/customcom/customcom.py:555
msgid "There are no custom commands in this server. Use `{command}` to start adding some." msgid "There are no custom commands in this server. Use `{command}` to start adding some."
msgstr "此伺務器中沒有自定義指令。使用 `{command}` 開始添加。" msgstr "此伺務器中沒有自定義指令。使用 `{command}` 開始添加。"
#: redbot/cogs/customcom/customcom.py:569 #: redbot/cogs/customcom/customcom.py:571
msgid "Custom Command List" msgid "Custom Command List"
msgstr "自訂指令列表" msgstr "自訂指令列表"
#: redbot/cogs/customcom/customcom.py:573 #: redbot/cogs/customcom/customcom.py:575
msgid "Page {num}/{total}" msgid "Page {num}/{total}"
msgstr "第{num}頁/共{total}頁" msgstr "第{num}頁/共{total}頁"
#: redbot/cogs/customcom/customcom.py:583 #: redbot/cogs/customcom/customcom.py:585
#, docstring #, docstring
msgid "Shows a custom command's responses and its settings.\n\n" msgid "Shows a custom command's responses and its settings.\n\n"
" **Arguments:**\n\n" " **Arguments:**\n\n"
@@ -288,23 +288,23 @@ msgstr "顯示自定義指令的響應及其設置。\n\n"
" - `<command_name>` 要顯示的自定義指令。\n" " - `<command_name>` 要顯示的自定義指令。\n"
" " " "
#: redbot/cogs/customcom/customcom.py:593 #: redbot/cogs/customcom/customcom.py:595
msgid "I could not not find that custom command." msgid "I could not not find that custom command."
msgstr "我找不到那個自定義指令。" msgstr "我找不到那個自定義指令。"
#: redbot/cogs/customcom/customcom.py:604 #: redbot/cogs/customcom/customcom.py:606
msgid "Deleted User" msgid "Deleted User"
msgstr "已刪除的使用者" msgstr "已刪除的使用者"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Random" msgid "Random"
msgstr "隨機" msgstr "隨機"
#: redbot/cogs/customcom/customcom.py:610 #: redbot/cogs/customcom/customcom.py:612
msgid "Normal" msgid "Normal"
msgstr "一般" msgstr "一般"
#: redbot/cogs/customcom/customcom.py:612 #: redbot/cogs/customcom/customcom.py:614
msgid "Command: {command_name}\n" msgid "Command: {command_name}\n"
"Author: {author}\n" "Author: {author}\n"
"Created: {created_at}\n" "Created: {created_at}\n"
@@ -314,27 +314,27 @@ msgstr "命令:{command_name}\n"
"創建時間:{created_at}\n" "創建時間:{created_at}\n"
"類型:{type}\n" "類型:{type}\n"
#: redbot/cogs/customcom/customcom.py:624 #: redbot/cogs/customcom/customcom.py:626
msgid "Cooldowns:\n" msgid "Cooldowns:\n"
msgstr "冷卻:\n" msgstr "冷卻:\n"
#: redbot/cogs/customcom/customcom.py:626 #: redbot/cogs/customcom/customcom.py:628
msgid "{num} seconds per {period}\n" msgid "{num} seconds per {period}\n"
msgstr "每 {period} {num} 秒\n" msgstr "每 {period} {num} 秒\n"
#: redbot/cogs/customcom/customcom.py:629 #: redbot/cogs/customcom/customcom.py:631
msgid "Responses:\n" msgid "Responses:\n"
msgstr "回應:\n" msgstr "回應:\n"
#: redbot/cogs/customcom/customcom.py:729 #: redbot/cogs/customcom/customcom.py:731
msgid "Too many arguments!" msgid "Too many arguments!"
msgstr "太多參數!" msgstr "太多參數!"
#: redbot/cogs/customcom/customcom.py:733 #: redbot/cogs/customcom/customcom.py:735
msgid "Arguments must be sequential. Missing arguments: " msgid "Arguments must be sequential. Missing arguments: "
msgstr "參數必須是連續的。缺少參數: " msgstr "參數必須是連續的。缺少參數: "
#: redbot/cogs/customcom/customcom.py:759 #: redbot/cogs/customcom/customcom.py:761
msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"." msgid "Conflicting colon notation for argument {index}: \"{name1}\" and \"{name2}\"."
msgstr "參數 {index} 的冒號符號衝突:“{name1}”和“{name2}”。" msgstr "參數 {index} 的冒號符號衝突:“{name1}”和“{name2}”。"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Arabic\n" "Language-Team: Arabic\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "المتابِعون" msgstr "المتابِعون"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "مجموع المشاهدات" msgstr "مجموع المشاهدات"
@@ -381,15 +381,15 @@ msgstr "مجموع المشاهدات"
msgid "Playing: " msgid "Playing: "
msgstr "تشغيل: " msgstr "تشغيل: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "لاشيء" msgstr "لاشيء"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW <unk> " msgstr "NSFW <unk> "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "الفئة {adult}: {category} <unk> علامات: {tags}" msgstr "الفئة {adult}: {category} <unk> علامات: {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Bulgarian\n" "Language-Team: Bulgarian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "" msgstr ""
@@ -381,15 +381,15 @@ msgstr ""
msgid "Playing: " msgid "Playing: "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Няма" msgstr "Няма"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Czech\n" "Language-Team: Czech\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr " - Znovu spustit" msgstr " - Znovu spustit"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "Sledující" msgstr "Sledující"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "Celkové shlédnutí" msgstr "Celkové shlédnutí"
@@ -381,15 +381,15 @@ msgstr "Celkové shlédnutí"
msgid "Playing: " msgid "Playing: "
msgstr "Hraje: " msgstr "Hraje: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Žádná" msgstr "Žádná"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}Kategorie: {category} | Štítky: {tags}" msgstr "{adult}Kategorie: {category} | Štítky: {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Danish\n" "Language-Team: Danish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "" msgstr ""
@@ -381,15 +381,15 @@ msgstr ""
msgid "Playing: " msgid "Playing: "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: German\n" "Language-Team: German\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -373,12 +373,12 @@ msgid " - Rerun"
msgstr " - Wiederholung" msgstr " - Wiederholung"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "Followers" msgstr "Followers"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "Alle Aufrufe" msgstr "Alle Aufrufe"
@@ -386,15 +386,15 @@ msgstr "Alle Aufrufe"
msgid "Playing: " msgid "Playing: "
msgstr "Gerade läuft: " msgstr "Gerade läuft: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Keine" msgstr "Keine"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}Kategorie: {category} | Tags: {tags}" msgstr "{adult}Kategorie: {category} | Tags: {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Finnish\n" "Language-Team: Finnish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "" msgstr ""
@@ -381,15 +381,15 @@ msgstr ""
msgid "Playing: " msgid "Playing: "
msgstr "Toistetaan: " msgstr "Toistetaan: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: French\n" "Language-Team: French\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -384,12 +384,12 @@ msgid " - Rerun"
msgstr " - Rerun" msgstr " - Rerun"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "Abonnés" msgstr "Abonnés"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "Vues totales" msgstr "Vues totales"
@@ -397,15 +397,15 @@ msgstr "Vues totales"
msgid "Playing: " msgid "Playing: "
msgstr "Joue à : " msgstr "Joue à : "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Aucun" msgstr "Aucun"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}Catégorie : {category} | Tags : {tags}" msgstr "{adult}Catégorie : {category} | Tags : {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Croatian\n" "Language-Team: Croatian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -371,12 +371,12 @@ msgid " - Rerun"
msgstr " - Repriza" msgstr " - Repriza"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "Pratitelji" msgstr "Pratitelji"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "Ukupno pregleda" msgstr "Ukupno pregleda"
@@ -384,15 +384,15 @@ msgstr "Ukupno pregleda"
msgid "Playing: " msgid "Playing: "
msgstr "Igra: " msgstr "Igra: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Ništa" msgstr "Ništa"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}Kategorija: {category} | Oznake: {tags}" msgstr "{adult}Kategorija: {category} | Oznake: {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Dutch\n" "Language-Team: Dutch\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -368,12 +368,12 @@ msgid " - Rerun"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "" msgstr ""
@@ -381,15 +381,15 @@ msgstr ""
msgid "Playing: " msgid "Playing: "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "Geen" msgstr "Geen"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "" msgstr ""
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Simplified\n" "Language-Team: Chinese Simplified\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -373,12 +373,12 @@ msgid " - Rerun"
msgstr " - Rerun" msgstr " - Rerun"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "关注者" msgstr "关注者"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "总浏览量" msgstr "总浏览量"
@@ -386,15 +386,15 @@ msgstr "总浏览量"
msgid "Playing: " msgid "Playing: "
msgstr "正在播放: " msgstr "正在播放: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "无" msgstr "无"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}类别: {category} | 标签: {tags}" msgstr "{adult}类别: {category} | 标签: {tags}"

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-05-01 22:55+0000\n" "POT-Creation-Date: 2023-08-12 02:50+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Traditional\n" "Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -409,12 +409,12 @@ msgid " - Rerun"
msgstr " - Rerun" msgstr " - Rerun"
#: redbot/cogs/streams/streamtypes.py:450 #: redbot/cogs/streams/streamtypes.py:450
#: redbot/cogs/streams/streamtypes.py:498 #: redbot/cogs/streams/streamtypes.py:496
msgid "Followers" msgid "Followers"
msgstr "跟隨者" msgstr "跟隨者"
#: redbot/cogs/streams/streamtypes.py:451 #: redbot/cogs/streams/streamtypes.py:451
#: redbot/cogs/streams/streamtypes.py:499 #: redbot/cogs/streams/streamtypes.py:497
msgid "Total views" msgid "Total views"
msgstr "總瀏覽次數" msgstr "總瀏覽次數"
@@ -422,15 +422,15 @@ msgstr "總瀏覽次數"
msgid "Playing: " msgid "Playing: "
msgstr "正在播放: " msgstr "正在播放: "
#: redbot/cogs/streams/streamtypes.py:504 #: redbot/cogs/streams/streamtypes.py:502
msgid "None" msgid "None"
msgstr "無" msgstr "無"
#: redbot/cogs/streams/streamtypes.py:507 #: redbot/cogs/streams/streamtypes.py:505
msgid "NSFW | " msgid "NSFW | "
msgstr "NSFW | " msgstr "NSFW | "
#: redbot/cogs/streams/streamtypes.py:511 #: redbot/cogs/streams/streamtypes.py:509
msgid "{adult}Category: {category} | Tags: {tags}" msgid "{adult}Category: {category} | Tags: {tags}"
msgstr "{adult}類別:{category} | 標籤:{tags}" msgstr "{adult}類別:{category} | 標籤:{tags}"

View File

@@ -487,9 +487,7 @@ class PicartoStream(Stream):
raise APIError(r.status, data) raise APIError(r.status, data)
def make_embed(self, data): def make_embed(self, data):
avatar = rnd( avatar = rnd(data["avatar"])
"https://picarto.tv/user_data/usrimg/{}/dsdefault.jpg".format(data["name"].lower())
)
url = "https://picarto.tv/" + data["name"] url = "https://picarto.tv/" + data["name"]
thumbnail = data["thumbnails"]["web"] thumbnail = data["thumbnails"]["web"]
embed = discord.Embed(title=data["title"], url=url, color=0x4C90F3) embed = discord.Embed(title=data["title"], url=url, color=0x4C90F3)

View File

@@ -3032,7 +3032,13 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
) )
@commands.bot_in_a_guild() @commands.bot_in_a_guild()
@commands.is_owner() @commands.is_owner()
async def _set_status_stream(self, ctx: commands.Context, streamer=None, *, stream_title=None): async def _set_status_stream(
self,
ctx: commands.Context,
streamer: commands.Range[str, 1, 489] = None,
*,
stream_title: commands.Range[str, 1, 128] = None,
):
"""Sets [botname]'s streaming status to a twitch stream. """Sets [botname]'s streaming status to a twitch stream.
This will appear as `Streaming <stream_title>` or `LIVE ON TWITCH` depending on the context. This will appear as `Streaming <stream_title>` or `LIVE ON TWITCH` depending on the context.
@@ -3056,12 +3062,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
stream_title = stream_title.strip() stream_title = stream_title.strip()
if "twitch.tv/" not in streamer: if "twitch.tv/" not in streamer:
streamer = "https://www.twitch.tv/" + streamer streamer = "https://www.twitch.tv/" + streamer
if len(streamer) > 511:
await ctx.send(_("The maximum length of the streamer url is 511 characters."))
return
if len(stream_title) > 128:
await ctx.send(_("The maximum length of the stream title is 128 characters."))
return
activity = discord.Streaming(url=streamer, name=stream_title) activity = discord.Streaming(url=streamer, name=stream_title)
await ctx.bot.change_presence(status=status, activity=activity) await ctx.bot.change_presence(status=status, activity=activity)
elif streamer is not None: elif streamer is not None:
@@ -3074,7 +3074,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@_set_status.command(name="playing", aliases=["game"]) @_set_status.command(name="playing", aliases=["game"])
@commands.bot_in_a_guild() @commands.bot_in_a_guild()
@commands.is_owner() @commands.is_owner()
async def _set_status_game(self, ctx: commands.Context, *, game: str = None): async def _set_status_game(
self, ctx: commands.Context, *, game: commands.Range[str, 1, 128] = None
):
"""Sets [botname]'s playing status. """Sets [botname]'s playing status.
This will appear as `Playing <game>` or `PLAYING A GAME: <game>` depending on the context. This will appear as `Playing <game>` or `PLAYING A GAME: <game>` depending on the context.
@@ -3090,9 +3092,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
""" """
if game: if game:
if len(game) > 128:
await ctx.send(_("The maximum length of game descriptions is 128 characters."))
return
game = discord.Game(name=game) game = discord.Game(name=game)
else: else:
game = None game = None
@@ -3106,7 +3105,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@_set_status.command(name="listening") @_set_status.command(name="listening")
@commands.bot_in_a_guild() @commands.bot_in_a_guild()
@commands.is_owner() @commands.is_owner()
async def _set_status_listening(self, ctx: commands.Context, *, listening: str = None): async def _set_status_listening(
self, ctx: commands.Context, *, listening: commands.Range[str, 1, 128] = None
):
"""Sets [botname]'s listening status. """Sets [botname]'s listening status.
This will appear as `Listening to <listening>`. This will appear as `Listening to <listening>`.
@@ -3123,11 +3124,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
if listening: if listening:
if len(listening) > 128:
await ctx.send(
_("The maximum length of listening descriptions is 128 characters.")
)
return
activity = discord.Activity(name=listening, type=discord.ActivityType.listening) activity = discord.Activity(name=listening, type=discord.ActivityType.listening)
else: else:
activity = None activity = None
@@ -3142,7 +3138,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@_set_status.command(name="watching") @_set_status.command(name="watching")
@commands.bot_in_a_guild() @commands.bot_in_a_guild()
@commands.is_owner() @commands.is_owner()
async def _set_status_watching(self, ctx: commands.Context, *, watching: str = None): async def _set_status_watching(
self, ctx: commands.Context, *, watching: commands.Range[str, 1, 128] = None
):
"""Sets [botname]'s watching status. """Sets [botname]'s watching status.
This will appear as `Watching <watching>`. This will appear as `Watching <watching>`.
@@ -3159,9 +3157,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
if watching: if watching:
if len(watching) > 128:
await ctx.send(_("The maximum length of watching descriptions is 128 characters."))
return
activity = discord.Activity(name=watching, type=discord.ActivityType.watching) activity = discord.Activity(name=watching, type=discord.ActivityType.watching)
else: else:
activity = None activity = None
@@ -3174,7 +3169,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@_set_status.command(name="competing") @_set_status.command(name="competing")
@commands.bot_in_a_guild() @commands.bot_in_a_guild()
@commands.is_owner() @commands.is_owner()
async def _set_status_competing(self, ctx: commands.Context, *, competing: str = None): async def _set_status_competing(
self, ctx: commands.Context, *, competing: commands.Range[str, 1, 128] = None
):
"""Sets [botname]'s competing status. """Sets [botname]'s competing status.
This will appear as `Competing in <competing>`. This will appear as `Competing in <competing>`.
@@ -3191,11 +3188,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
if competing: if competing:
if len(competing) > 128:
await ctx.send(
_("The maximum length of competing descriptions is 128 characters.")
)
return
activity = discord.Activity(name=competing, type=discord.ActivityType.competing) activity = discord.Activity(name=competing, type=discord.ActivityType.competing)
else: else:
activity = None activity = None
@@ -3207,6 +3199,37 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
else: else:
await ctx.send(_("Competing cleared.")) await ctx.send(_("Competing cleared."))
@_set_status.command(name="custom")
@commands.bot_in_a_guild()
@commands.is_owner()
async def _set_status_custom(
self, ctx: commands.Context, *, text: commands.Range[str, 1, 128] = None
):
"""Sets [botname]'s custom status.
This will appear as `<text>`.
Maximum length for a custom status is 128 characters.
**Examples:**
- `[p]set status custom` - Clears the activity status.
- `[p]set status custom Running cogs...`
**Arguments:**
- `[text]` - The custom status text. Leave blank to clear the current activity status.
"""
status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
if text:
activity = discord.CustomActivity(name=text)
else:
activity = None
await ctx.bot.change_presence(status=status, activity=activity)
if activity:
await ctx.send(_("Custom status set to `{text}`.").format(text=text))
else:
await ctx.send(_("Custom status cleared."))
async def _set_my_status(self, ctx: commands.Context, status: discord.Status): async def _set_my_status(self, ctx: commands.Context, status: discord.Status):
game = ctx.bot.guilds[0].me.activity if len(ctx.bot.guilds) > 0 else None game = ctx.bot.guilds[0].me.activity if len(ctx.bot.guilds) > 0 else None
await ctx.bot.change_presence(status=status, activity=game) await ctx.bot.change_presence(status=status, activity=game)

View File

@@ -8,7 +8,7 @@ import logging
import discord import discord
from pathlib import Path from pathlib import Path
from typing import Callable, TYPE_CHECKING, Union, Dict, Optional from typing import Callable, TYPE_CHECKING, Union, Dict, Optional, TypeVar
from contextvars import ContextVar from contextvars import ContextVar
import babel.localedata import babel.localedata
@@ -358,11 +358,13 @@ def get_babel_regional_format(regional_format: Optional[str] = None) -> babel.co
# noinspection PyPep8 # noinspection PyPep8
from . import commands from . import commands
_TypeT = TypeVar("_TypeT", bound=type)
def cog_i18n(translator: Translator):
def cog_i18n(translator: Translator) -> Callable[[_TypeT], _TypeT]:
"""Get a class decorator to link the translator to this cog.""" """Get a class decorator to link the translator to this cog."""
def decorator(cog_class: type): def decorator(cog_class: _TypeT) -> _TypeT:
cog_class.__translator__ = translator cog_class.__translator__ = translator
for name, attr in cog_class.__dict__.items(): for name, attr in cog_class.__dict__.items():
if isinstance(attr, (commands.Group, commands.Command)): if isinstance(attr, (commands.Group, commands.Command)):

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -32,7 +32,7 @@ from typing import (
import aiohttp import aiohttp
import discord import discord
from packaging.requirements import Requirement from packaging.requirements import Requirement
from rapidfuzz import fuzz, process import rapidfuzz
from rich.progress import ProgressColumn from rich.progress import ProgressColumn
from rich.progress_bar import ProgressBar from rich.progress_bar import ProgressBar
from red_commons.logging import VERBOSE, TRACE from red_commons.logging import VERBOSE, TRACE
@@ -154,7 +154,13 @@ async def fuzzy_command_search(
choices = {c: c.qualified_name for c in commands} choices = {c: c.qualified_name for c in commands}
# Do the scoring. `extracted` is a list of tuples in the form `(cmd_name, score, cmd)` # Do the scoring. `extracted` is a list of tuples in the form `(cmd_name, score, cmd)`
extracted = process.extract(term, choices, limit=5, scorer=fuzz.QRatio) extracted = rapidfuzz.process.extract(
term,
choices,
limit=5,
scorer=rapidfuzz.fuzz.QRatio,
processor=rapidfuzz.utils.default_process,
)
if not extracted: if not extracted:
return None return None

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Arabic\n" "Language-Team: Arabic\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "تم تعيين رمز API{service}." msgstr "تم تعيين رمز API{service}."
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Bulgarian\n" "Language-Team: Bulgarian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Czech\n" "Language-Team: Czech\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,45 +71,45 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "Nastavit API klíče" msgstr "Nastavit API klíče"
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "Klíče a tokeny" msgstr "Klíče a tokeny"
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "Nastavit API klíče pro {service}" msgstr "Nastavit API klíče pro {service}"
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "Klíče a tokeny pro {service}" msgstr "Klíče a tokeny pro {service}"
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "Služba" msgstr "Služba"
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "{error_message}\n" msgstr "{error_message}\n"
"Zkuste to prosím znovu." "Zkuste to prosím znovu."
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "`{service} API tokeny byly nastaveny." msgstr "`{service} API tokeny byly nastaveny."
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "Toto tlačítko je pouze pro majitele bota." msgstr "Toto tlačítko je pouze pro majitele bota."

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Danish\n" "Language-Team: Danish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: German\n" "Language-Team: German\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,45 +71,45 @@ msgstr "Seite auswählen"
msgid "Page {num}" msgid "Page {num}"
msgstr "Seite {num}" msgstr "Seite {num}"
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "Du bist nicht berechtigt um damit zu Interagieren." msgstr "Du bist nicht berechtigt um damit zu Interagieren."
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "API-Schlüssel festlegen" msgstr "API-Schlüssel festlegen"
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "Schlüssel und Tokens" msgstr "Schlüssel und Tokens"
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "API-Schlüssel für {service} festlegen" msgstr "API-Schlüssel für {service} festlegen"
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "Schlüssel und Token für {service}" msgstr "Schlüssel und Token für {service}"
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "Service" msgstr "Service"
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "Dieser Modus ist nur für Bot-Besitzer. Hoppla!" msgstr "Dieser Modus ist nur für Bot-Besitzer. Hoppla!"
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "{error_message}\n" msgstr "{error_message}\n"
"Bitte versuchen Sie es erneut." "Bitte versuchen Sie es erneut."
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "`{service}` API-Token wurden gesetzt." msgstr "`{service}` API-Token wurden gesetzt."
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "Diese Taste ist nur für Bot-Besitzer, oh gut." msgstr "Diese Taste ist nur für Bot-Besitzer, oh gut."

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Finnish\n" "Language-Team: Finnish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: French\n" "Language-Team: French\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "`{service}` les tokens API ont été définis." msgstr "`{service}` les tokens API ont été définis."
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Croatian\n" "Language-Team: Croatian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,45 +71,45 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "Postavi API ključeve" msgstr "Postavi API ključeve"
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "Ključevi i tokeni" msgstr "Ključevi i tokeni"
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "Postavi API ključeve za {service}" msgstr "Postavi API ključeve za {service}"
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "Ključevi i tokeni za {service}" msgstr "Ključevi i tokeni za {service}"
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "Usluga" msgstr "Usluga"
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "Ovaj modal je samo za vlasnike bota. Ups!" msgstr "Ovaj modal je samo za vlasnike bota. Ups!"
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "{error_message}\n" msgstr "{error_message}\n"
"Molim te pokušaj ponovno." "Molim te pokušaj ponovno."
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "`{service}` API tokeni su postavljeni." msgstr "`{service}` API tokeni su postavljeni."
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "Ovaj gumb je samo za vlasnike bota." msgstr "Ovaj gumb je samo za vlasnike bota."

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Dutch\n" "Language-Team: Dutch\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Simplified\n" "Language-Team: Chinese Simplified\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,44 +71,44 @@ msgstr ""
msgid "Page {num}" msgid "Page {num}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "" msgstr ""
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "" msgstr ""
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "" msgstr ""

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: red-discordbot\n" "Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2023-06-21 16:48+0000\n" "POT-Creation-Date: 2023-08-11 00:52+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Chinese Traditional\n" "Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -71,45 +71,45 @@ msgstr "選擇一個頁面"
msgid "Page {num}" msgid "Page {num}"
msgstr "{num} 頁" msgstr "{num} 頁"
#: redbot/core/utils/views.py:266 redbot/core/utils/views.py:617 #: redbot/core/utils/views.py:270 redbot/core/utils/views.py:626
msgid "You are not authorized to interact with this." msgid "You are not authorized to interact with this."
msgstr "您無權限與此互動。" msgstr "您無權限與此互動。"
#: redbot/core/utils/views.py:308 #: redbot/core/utils/views.py:312
msgid "Set API Keys" msgid "Set API Keys"
msgstr "設置 API Keys" msgstr "設置 API Keys"
#: redbot/core/utils/views.py:309 #: redbot/core/utils/views.py:313
msgid "Keys and tokens" msgid "Keys and tokens"
msgstr "Keys 和 tokens" msgstr "Keys 和 tokens"
#: redbot/core/utils/views.py:311 #: redbot/core/utils/views.py:315
msgid "Set API Keys for {service}" msgid "Set API Keys for {service}"
msgstr "為 {service} 設置 API 密鑰" msgstr "為 {service} 設置 API 密鑰"
#: redbot/core/utils/views.py:312 #: redbot/core/utils/views.py:316
msgid "Keys and tokens for {service}" msgid "Keys and tokens for {service}"
msgstr "{service} 的密鑰和令牌" msgstr "{service} 的密鑰和令牌"
#: redbot/core/utils/views.py:321 #: redbot/core/utils/views.py:325
msgid "Service" msgid "Service"
msgstr "服務" msgstr "服務"
#: redbot/core/utils/views.py:358 #: redbot/core/utils/views.py:362
msgid "This modal is for bot owners only. Whoops!" msgid "This modal is for bot owners only. Whoops!"
msgstr "哎呀!此模式僅適用於機器人所有者。" msgstr "哎呀!此模式僅適用於機器人所有者。"
#: redbot/core/utils/views.py:371 #: redbot/core/utils/views.py:375
msgid "{error_message}\n" msgid "{error_message}\n"
"Please try again." "Please try again."
msgstr "{error_message}\n" msgstr "{error_message}\n"
"請再試一次。" "請再試一次。"
#: redbot/core/utils/views.py:378 redbot/core/utils/views.py:385 #: redbot/core/utils/views.py:382 redbot/core/utils/views.py:389
msgid "`{service}` API tokens have been set." msgid "`{service}` API tokens have been set."
msgstr "`{service}` API 令牌已設置。" msgstr "`{service}` API 令牌已設置。"
#: redbot/core/utils/views.py:421 #: redbot/core/utils/views.py:425
msgid "This button is for bot owners only, oh well." msgid "This button is for bot owners only, oh well."
msgstr "哦,好吧!此按鈕僅適用於機器人所有者。" msgstr "哦,好吧!此按鈕僅適用於機器人所有者。"

View File

@@ -37,6 +37,7 @@ class _GenericButton(discord.ui.Button):
self.func = func self.func = func
async def callback(self, interaction: discord.Interaction): async def callback(self, interaction: discord.Interaction):
await interaction.response.defer()
ctx = self.view.ctx ctx = self.view.ctx
pages = self.view.source.entries pages = self.view.source.entries
controls = None controls = None
@@ -52,7 +53,6 @@ class _GenericButton(discord.ui.Button):
await self.func(ctx, pages, controls, message, page, timeout, emoji) await self.func(ctx, pages, controls, message, page, timeout, emoji)
except Exception: except Exception:
pass pass
await interaction.response.defer()
async def menu( async def menu(

View File

@@ -193,6 +193,7 @@ class SimpleMenu(discord.ui.View):
return self._source return self._source
async def on_timeout(self): async def on_timeout(self):
try:
if self.delete_after_timeout and not self.message.flags.ephemeral: if self.delete_after_timeout and not self.message.flags.ephemeral:
await self.message.delete() await self.message.delete()
elif self.disable_after_timeout: elif self.disable_after_timeout:
@@ -201,6 +202,9 @@ class SimpleMenu(discord.ui.View):
await self.message.edit(view=self) await self.message.edit(view=self)
else: else:
await self.message.edit(view=None) await self.message.edit(view=None)
except discord.HTTPException:
# message could no longer be there or we may not be able to edit/delete it anymore
pass
def _get_select_menu(self): def _get_select_menu(self):
# handles modifying the select menu if more than 25 pages are provided # handles modifying the select menu if more than 25 pages are provided
@@ -523,9 +527,14 @@ class ConfirmView(discord.ui.View):
if self.disable_buttons: if self.disable_buttons:
self.confirm_button.disabled = True self.confirm_button.disabled = True
self.dismiss_button.disabled = True self.dismiss_button.disabled = True
await self.message.edit(view=self) view = self
else: else:
await self.message.edit(view=None) view = None
try:
await self.message.edit(view=view)
except discord.HTTPException:
# message could no longer be there or we may not be able to edit it anymore
pass
@discord.ui.button(label=_("Yes"), style=discord.ButtonStyle.green) @discord.ui.button(label=_("Yes"), style=discord.ButtonStyle.green)
async def confirm_button(self, interaction: discord.Interaction, button: discord.ui.Button): async def confirm_button(self, interaction: discord.Interaction, button: discord.ui.Button):

View File

@@ -10,9 +10,9 @@ aiohttp-json-rpc==0.13.3
# via -r base.in # via -r base.in
aiosignal==1.3.1 aiosignal==1.3.1
# via aiohttp # via aiohttp
apsw==3.42.0.0 apsw==3.42.0.1
# via -r base.in # via -r base.in
async-timeout==4.0.2 async-timeout==4.0.3
# via aiohttp # via aiohttp
attrs==23.1.0 attrs==23.1.0
# via aiohttp # via aiohttp
@@ -28,7 +28,7 @@ click==8.1.6
# via -r base.in # via -r base.in
contextlib2==21.6.0 contextlib2==21.6.0
# via schema # via schema
discord-py==2.3.1 discord-py==2.3.2
# via # via
# -r base.in # -r base.in
# red-lavalink # red-lavalink
@@ -40,7 +40,7 @@ idna==3.4
# via yarl # via yarl
importlib-metadata==6.8.0 importlib-metadata==6.8.0
# via markdown # via markdown
markdown==3.4.3 markdown==3.4.4
# via -r base.in # via -r base.in
markdown-it-py==3.0.0 markdown-it-py==3.0.0
# via rich # via rich
@@ -50,11 +50,11 @@ multidict==6.0.4
# via # via
# aiohttp # aiohttp
# yarl # yarl
orjson==3.9.2 orjson==3.9.4
# via -r base.in # via -r base.in
packaging==23.1 packaging==23.1
# via -r base.in # via -r base.in
platformdirs==3.9.1 platformdirs==3.10.0
# via -r base.in # via -r base.in
psutil==5.9.5 psutil==5.9.5
# via -r base.in # via -r base.in
@@ -62,7 +62,7 @@ pycares==4.3.0
# via aiodns # via aiodns
pycparser==2.21 pycparser==2.21
# via cffi # via cffi
pygments==2.15.1 pygments==2.16.1
# via rich # via rich
python-dateutil==2.8.2 python-dateutil==2.8.2
# via -r base.in # via -r base.in
@@ -70,7 +70,7 @@ pytz==2023.3
# via babel # via babel
pyyaml==6.0.1 pyyaml==6.0.1
# via -r base.in # via -r base.in
rapidfuzz==3.1.2 rapidfuzz==3.2.0
# via -r base.in # via -r base.in
red-commons==1.0.0 red-commons==1.0.0
# via # via
@@ -78,7 +78,7 @@ red-commons==1.0.0
# red-lavalink # red-lavalink
red-lavalink==0.11.0 red-lavalink==0.11.0
# via -r base.in # via -r base.in
rich==13.4.2 rich==13.5.2
# via -r base.in # via -r base.in
schema==0.7.5 schema==0.7.5
# via -r base.in # via -r base.in

View File

@@ -2,7 +2,7 @@ black==23.7.0
# via -r extra-style.in # via -r extra-style.in
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via black # via black
pathspec==0.11.1 pathspec==0.11.2
# via black # via black
tomli==2.0.1 tomli==2.0.1
# via black # via black

View File

@@ -14,7 +14,7 @@ mccabe==0.7.0
# via pylint # via pylint
pluggy==1.2.0 pluggy==1.2.0
# via pytest # via pytest
pylint==2.17.4 pylint==2.17.5
# via -r extra-test.in # via -r extra-test.in
pytest==7.4.0 pytest==7.4.0
# via # via
@@ -29,7 +29,7 @@ tomli==2.0.1
# via # via
# pylint # pylint
# pytest # pytest
tomlkit==0.11.8 tomlkit==0.12.1
# via pylint # via pylint
wrapt==1.15.0 wrapt==1.15.0
# via astroid # via astroid