Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

역할에 속한 사람 리스트 출력하기 #13

Closed
WraithKim opened this issue Oct 27, 2020 · 2 comments
Closed

역할에 속한 사람 리스트 출력하기 #13

WraithKim opened this issue Oct 27, 2020 · 2 comments

Comments

@WraithKim
Copy link
Contributor

input: role list
output: 이름1, 이름2, 이름3, 이름4...etc

@WraithKim
Copy link
Contributor Author

이 기능을 구현하는데 있어서 생각보다 더 조사가 필요함.
role에서 members라는 속한 멤버 목록을 불러올 수 있는 필드가 있는데 이걸 받을려면 discord.py 1.5부터 추가된 intent라는 개념이 필요한 거 같음. - 관련 내용

위 내용을 이해하지 않고 구현하면 role.members가 역할에 속한 인원과 상관없이 길이가 0인 리스트를 반환함.

WraithKim referenced this issue in WraithKim/together-bot Oct 28, 2020
gh-13
- 특정 역할에 속한 모든 멤버의 이름을 출력하는 members라는 role의 서브커멘드를 추가함.
- 멤버 상태를 읽어올 수 있는 discord intents를 사용하기 위해 discord.py를 1.4.1 -> 1.5.1로 업그레이드 함.
gh-14
- python을 3.9.0 -> 3.8.6으로 다운그레이드 함.
WraithKim referenced this issue in WraithKim/together-bot Oct 28, 2020
gh-13
- 특정 역할에 속한 모든 멤버의 이름을 출력하는 members라는 role의 서브커멘드를 추가함.
- 멤버 상태를 읽어올 수 있는 discord intents를 사용하기 위해 discord.py를 1.4.1 -> 1.5.1로 업그레이드 함.

gh-14
- python을 3.9.0 -> 3.8.6으로 다운그레이드 함.
WraithKim added a commit that referenced this issue Oct 30, 2020
gh-13
- 특정 역할에 속한 모든 멤버의 이름을 출력하는 members라는 role의 서브커멘드를 추가함.
- 멤버 상태를 읽어올 수 있는 discord intents를 사용하기 위해 discord.py를 1.4.1 -> 1.5.1로 업그레이드 함.

gh-14
- python을 3.9.0 -> 3.8.6으로 다운그레이드 함.
@lyuha
Copy link
Collaborator

lyuha commented Nov 20, 2020

DONE #15

@lyuha lyuha closed this as completed Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants