dogehouse.js
dogehouse.js copied to clipboard
Adding more administrative room methods & properties
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.