dogehouse.js icon indicating copy to clipboard operation
dogehouse.js copied to clipboard

Adding more administrative room methods & properties

Open HoloPanio opened this issue 3 years ago • 2 comments

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.

HoloPanio avatar Apr 01 '21 21:04 HoloPanio