Skip to content

Commit e04d163

Browse files
committed
Add support for mention as a prefix
1 parent f5ffde1 commit e04d163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async def help(self, ctx):
229229

230230
@commands.command()
231231
async def about(self, ctx):
232-
em = discord.Embed(color=discord.Color.green())
232+
em = discord.Embed(color=discord.Color.green(), timestamp=datetime.datetime.utcnow())
233233
em.set_author(name='Mod Mail - Information', icon_url=self.user.avatar_url)
234234
em.set_thumbnail(url=self.user.avatar_url)
235235

@@ -239,7 +239,7 @@ async def about(self, ctx):
239239

240240
em.add_field(name='Uptime', value=self.uptime)
241241
em.add_field(name='Latency', value=f'{self.latency*1000:.2f} ms')
242-
em.add_field(name='Version', value=f'`v{self.version}`')
242+
em.add_field(name='Version', value=f'[`{self.version}`](https://github.com/kyb3r/modmail/blob/master/bot.py#L45)')
243243
em.add_field(name='Author', value='[`kyb3r`](https://github.com/kyb3r)')
244244
em.add_field(name='Github', value='https://github.com/kyb3r/modmail')
245245
em.set_footer(text=f'Bot ID: {self.user.id}')

0 commit comments

Comments
 (0)