A Discord interaction prototype preparing to lay the foundations of a game service.
GNU General Public License v3.0
2
stars
0
forks
source link
fix: Use predefined `playerPermissions` for players in lobby channels. #4
Closed
sudojunior closed 2 years ago
playerPermissions
was added as part of a permissions group in #2 for more consistent handling of overwrites, however they weren't used everywhere. They will also need refinement, but that will be for another task. https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/util/permissions.ts#L24-L29Occurances:
https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/new-game.ts#L45-L53 https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/accept.ts#L57 https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/join.ts#L91