diff options
| author | Rapptz <[email protected]> | 2021-04-04 10:09:25 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-04 10:15:30 -0400 |
| commit | 54288879e28cc63eefce33311ec393a4eed476c4 (patch) | |
| tree | 5bada5e0d4f1c997773d7216d14b3338ac76f1fa /discord/template.py | |
| parent | Remove asyncio.Task subclass in preference to task names (diff) | |
| download | discord.py-54288879e28cc63eefce33311ec393a4eed476c4.tar.xz discord.py-54288879e28cc63eefce33311ec393a4eed476c4.zip | |
Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
Diffstat (limited to 'discord/template.py')
| -rw-r--r-- | discord/template.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/discord/template.py b/discord/template.py index a5869a88..62f22fbc 100644 --- a/discord/template.py +++ b/discord/template.py @@ -42,10 +42,6 @@ class _PartialTemplateState: self.http = _FriendlyHttpAttributeErrorHelper() @property - def is_bot(self): - return self.__state.is_bot - - @property def shard_count(self): return self.__state.shard_count @@ -125,7 +121,7 @@ class Template: source_serialised['id'] = id state = _PartialTemplateState(state=self._state) guild = Guild(data=source_serialised, state=state) - + self.source_guild = guild def __repr__(self): |