Skip to content

Commit ee9fba8

Browse files
committed
Update about command for OpenModmail
Removes patreon, sponsors, and installation guide fields. Changes references to modmail-dev github page Removes author discord link
1 parent c1fdd65 commit ee9fba8

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

cogs/utility.py

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ async def changelog(self, ctx, version: str.lower = ""):
311311
@commands.command(aliases=["info"])
312312
@checks.has_permissions(PermissionLevel.REGULAR)
313313
@utils.trigger_typing
314-
async def about(self, ctx):
314+
async def about(self, ctx: commands.Context):
315315
"""Shows information about this bot."""
316316
embed = discord.Embed(color=self.bot.main_color, timestamp=discord.utils.utcnow())
317317
embed.set_author(
318-
name="Modmail - About",
318+
name="OpenModmail - About",
319319
icon_url=self.bot.user.display_avatar.url,
320-
url="https://discord.gg/F34cRU8",
320+
# url="https://discord.gg/F34cRU8",
321321
)
322322
embed.set_thumbnail(url=self.bot.user.display_avatar.url)
323323

@@ -344,9 +344,9 @@ async def about(self, ctx):
344344
embed.add_field(name="Python Version", value=f"`{python_version}`")
345345
embed.add_field(name="discord.py Version", value=f"`{dpy_version}`")
346346
embed.add_field(name="Bot Version", value=f"`{self.bot.version}`")
347-
_c_url = "https://github.com/modmail-dev/modmail/graphs/contributors"
347+
_c_url = "https://github.com/khakers/openmodmail/graphs/contributors"
348348
_c = f"[and many other contributors]({_c_url})"
349-
embed.add_field(name="Authors", value=f"`kyb3r`, `Taki`, `fourjr`, {_c}")
349+
embed.add_field(name="Authors", value=f"`kyb3r`, `Taki`, `fourjr`, `khakers`, `raiden_sakura` {_c}")
350350
embed.add_field(name="Hosting Method", value=self.bot.hosting_method.name)
351351

352352
changelog = await Changelog.from_url(self.bot)
@@ -360,27 +360,6 @@ async def about(self, ctx):
360360
else:
361361
footer = "You are up to date with the latest version."
362362

363-
embed.add_field(
364-
name="Want Modmail in Your Server?",
365-
value="Follow the installation guide on [GitHub](https://github.com/modmail-dev/modmail/) "
366-
"and join our [Discord server](https://discord.gg/zmdYe3ZVHG)!",
367-
inline=False,
368-
)
369-
370-
embed.add_field(
371-
name="Support the Developers",
372-
value="This bot is completely free for everyone. We rely on kind individuals "
373-
"like you to support us on [`Patreon`](https://patreon.com/kyber) (perks included) "
374-
"to keep this bot free forever!",
375-
inline=False,
376-
)
377-
378-
embed.add_field(
379-
name="Project Sponsors",
380-
value=f"Checkout the people who supported Modmail with command `{self.bot.prefix}sponsors`!",
381-
inline=False,
382-
)
383-
384363
embed.set_footer(text=footer)
385364
await ctx.send(embed=embed)
386365

0 commit comments

Comments
 (0)