mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 02:12:32 -05:00
* Improve and add more usage of discord timestamps
* How did that whitespace get there?
(cherry picked from commit a0a433b13d)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -205,9 +205,9 @@ class ModInfo(MixinMeta):
|
||||
+ 1
|
||||
)
|
||||
|
||||
created_on = "<t:{0}:D>\n(<t:{0}:R>)".format(user_created)
|
||||
created_on = "<t:{0}>\n(<t:{0}:R>)".format(user_created)
|
||||
if joined_at is not None:
|
||||
joined_on = "<t:{0}:D>\n(<t:{0}:R>)".format(int(joined_at.timestamp()))
|
||||
joined_on = "<t:{0}>\n(<t:{0}:R>)".format(int(joined_at.timestamp()))
|
||||
else:
|
||||
joined_on = _("Unknown")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user