Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Adding more administrative room methods & properties #44

Open
HoloPanio opened this issue Apr 1, 2021 · 2 comments
Open

Adding more administrative room methods & properties #44

HoloPanio opened this issue Apr 1, 2021 · 2 comments

Comments

@HoloPanio
Copy link
Contributor

HoloPanio commented Apr 1, 2021

As requested I need to add the ability to add more administrative room methods and properties. These methods and properties will be able to be used assuming the bot account has the appropriate permissions.

Room Class

Name Type Returns Permission Required
createRoom method New Room Controller User
listAll property (getter) Room Controller Array User

Room Controller Class

Name Type Returns Permission Required
leave method Previous Room Controller User
setPrivate method Current Room Controller Admin
banUser method User Controller, Romm Controller Mod
unbanUser method User Controller, Room Controller Mod
blockUserChat method User Controller, Room Controller Mod
bannedUsers property User Controller Array Mod

Room Events

Name Returned Data
userBanned User Controller, Room Controller
userChatBlocked User Controller, Room Controller

If you have any more suggestions please feel free to comment on this issue and I will look into it.

@BronzW
Copy link

BronzW commented Apr 1, 2021

isMod isCreator/isAdministrator

@Lubba-64
Copy link

Lubba-64 commented Apr 1, 2021

Methods GetUsers, GetMods, GetAdmins, GetListeners, GetRequesting, GetSpeaking

returns the respective category of users and is within the room controller

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants