diff --git a/README.md b/README.md index 0be4848..2038d22 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,5 @@ - [x] ping - [x] info - [ ] help - - [ ] credits `new command` + - [x] credits `new command` \ No newline at end of file diff --git a/cogs/basics.py b/cogs/basics.py index ba8ce30..d293f46 100644 --- a/cogs/basics.py +++ b/cogs/basics.py @@ -106,15 +106,29 @@ class Basics(commands.Cog): """---------------------------------------------------------------------""" - @commands.command(name='credits') + @commands.command(name='credits', aliases=['contributors']) async def _credits(self, ctx: commands.Context): e = discord.Embed( title=Texts('basics').get('Contributors'), - description=f"- **Romain#5117** https://git.gnous.eu/Romain\n" - f"- **Outout#4039** https://git.gnous.eu/mael", - color=0x89C4F9 + color=0x36393f ) + e.add_field( + name="**Outout#4039** ", + value="• https://git.gnous.eu/mael ⠀\n" + "• mael@gnous.eu\n" + "• [@outoutxyz](https://twitter.com/outouxyz)", + inline=True + ) + e.add_field( + name="**Romain#5117** ", + value="• https://git.gnous.eu/Romain\n" + "• romain@gnous.eu", + inline=True + ) + + await ctx.send(embed=e) + def setup(bot: TuxBot): bot.add_cog(Basics(bot)) diff --git a/locales/en/LC_MESSAGES/basics.po b/locales/en/LC_MESSAGES/basics.po index 7aaceda..194ccd3 100644 --- a/locales/en/LC_MESSAGES/basics.po +++ b/locales/en/LC_MESSAGES/basics.po @@ -43,4 +43,7 @@ msgid "Links" msgstr "" msgid "Invite" +msgstr "" + +msgid "Contributors" msgstr "" \ No newline at end of file diff --git a/locales/fr/LC_MESSAGES/basics.mo b/locales/fr/LC_MESSAGES/basics.mo index f5581a0..23ac26e 100644 Binary files a/locales/fr/LC_MESSAGES/basics.mo and b/locales/fr/LC_MESSAGES/basics.mo differ diff --git a/locales/fr/LC_MESSAGES/basics.po b/locales/fr/LC_MESSAGES/basics.po index 278efff..a345d05 100644 --- a/locales/fr/LC_MESSAGES/basics.po +++ b/locales/fr/LC_MESSAGES/basics.po @@ -43,4 +43,7 @@ msgid "Links" msgstr "Liens" msgid "Invite" -msgstr "Invitation" \ No newline at end of file +msgstr "Invitation" + +msgid "Contributors" +msgstr "Contributeurs" \ No newline at end of file