svthalia / discord-bot

Thalia's Dicord management bot
Other
3 stars 1 forks source link

display display_name instead of 'Optional' nick #34

Closed mark-boute closed 3 years ago

mark-boute commented 3 years ago

Closes #33

Summary

Using Member.display_name instead of Member.nick, because Member.nick returns Optional[str], whereas display_name returns Member.nick and otherwise the user's full display_name.

How to test

Steps to test the changes you made:

  1. Reset your nickname in discord
  2. Invoke !group getmembers Connected
  3. See that you are also listed