diff options
Diffstat (limited to 'discord/integrations.py')
| -rw-r--r-- | discord/integrations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/integrations.py b/discord/integrations.py index 6784f3f9..34458adc 100644 --- a/discord/integrations.py +++ b/discord/integrations.py @@ -53,7 +53,7 @@ class IntegrationAccount: self.name = kwargs.pop('name') def __repr__(self): - return '<IntegrationAccount id={0.id} name={0.name!r}>'.format(self) + return f'<IntegrationAccount id={self.id} name={self.name!r}>' class Integration: """Represents a guild integration. @@ -101,7 +101,7 @@ class Integration: self._from_data(data) def __repr__(self): - return '<Integration id={0.id} name={0.name!r} type={0.type!r}>'.format(self) + return f'<Integration id={self.id} name={self.name!r} type={self.type!r}>' def _from_data(self, integ): self.id = _get_as_snowflake(integ, 'id') |