aboutsummaryrefslogtreecommitdiff
path: root/discord/asset.py
diff options
context:
space:
mode:
authorNihaal Sangha <[email protected]>2021-01-15 10:28:11 +0000
committerGitHub <[email protected]>2021-01-15 05:28:11 -0500
commit69bdc3a1849407f64ef93bd2e5119e54d6cd2208 (patch)
tree5ec113d3bf9fa214876bedd88b3e7c38fe82a304 /discord/asset.py
parent[commands] Add PartialMessageConverter (diff)
downloaddiscord.py-69bdc3a1849407f64ef93bd2e5119e54d6cd2208.tar.xz
discord.py-69bdc3a1849407f64ef93bd2e5119e54d6cd2208.zip
Change copyright year to present
Diffstat (limited to 'discord/asset.py')
-rw-r--r--discord/asset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/asset.py b/discord/asset.py
index 29a86769..ea457297 100644
--- a/discord/asset.py
+++ b/discord/asset.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2020 Rapptz
+Copyright (c) 2015-present Rapptz
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -165,7 +165,7 @@ class Asset:
format = 'gif' if emoji.animated else static_format
return cls(state, '/emojis/{0.id}.{1}'.format(emoji, format))
-
+
def __str__(self):
return self.BASE + self._url if self._url is not None else ''