diff options
Diffstat (limited to 'discord/template.py')
| -rw-r--r-- | discord/template.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/discord/template.py b/discord/template.py index 2e957346..a5869a88 100644 --- a/discord/template.py +++ b/discord/template.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ The MIT License (MIT) @@ -76,7 +74,7 @@ class _PartialTemplateState: return [] def __getattr__(self, attr): - raise AttributeError('PartialTemplateState does not support {0!r}.'.format(attr)) + raise AttributeError(f'PartialTemplateState does not support {attr!r}.') class Template: """Represents a Discord template. |