|
|
|
@ -26,7 +26,7 @@ from __future__ import annotations |
|
|
|
|
|
|
|
from typing import List, Optional, Sequence, Union, TYPE_CHECKING |
|
|
|
from .asset import Asset |
|
|
|
from .utils import parse_time, snowflake_time, _get_as_snowflake, MISSING, _get_target_ids_from_csv |
|
|
|
from .utils import parse_time, snowflake_time, _get_as_snowflake, MISSING |
|
|
|
from .object import Object |
|
|
|
from .mixins import Hashable |
|
|
|
from .enums import ( |
|
|
|
@ -677,7 +677,7 @@ class Invite(Hashable): |
|
|
|
""" |
|
|
|
|
|
|
|
res = await self._state.http.get_invite_target_users(self.code) |
|
|
|
return _get_target_ids_from_csv(res) |
|
|
|
return list(map(int, res.lstrip('user_id\n').strip().split('\n'))) if res else [] |
|
|
|
|
|
|
|
async def target_users_job_status(self) -> InviteUsersJob: |
|
|
|
"""|coro| |
|
|
|
|