Preparing search index...
The search index is not available
Yet Another Better Office-hour Bot - v4.2
Yet Another Better Office-hour Bot - v4.2
ExpectedErrors
ExpectedServerErrors
Variable ExpectedServerErrors
Const
Expected
Server
Errors
:
{
alreadyHosting
:
ServerError
;
apiFail
:
(
(
err
:
Error
)
=>
ServerError
)
;
genericDequeueFailure
:
ServerError
;
noAnnouncePerm
:
(
(
queueName
:
string
)
=>
ServerError
)
;
noClassRole
:
ServerError
;
noOneToHelp
:
ServerError
;
noStudentToAnnounce
:
(
(
announcement
:
string
)
=>
ServerError
)
;
notHosting
:
ServerError
;
notInVC
:
ServerError
;
queueAlreadyExists
:
(
(
name
:
string
)
=>
ServerError
)
;
queueDoesNotExist
:
ServerError
;
studentNotFound
:
(
(
studentName
:
string
)
=>
ServerError
)
;
}
= ...
Type declaration
already
Hosting
:
ServerError
api
Fail
:
(
(
err
:
Error
)
=>
ServerError
)
(
err
:
Error
)
:
ServerError
Parameters
err:
Error
Returns
ServerError
generic
Dequeue
Failure
:
ServerError
no
Announce
Perm
:
(
(
queueName
:
string
)
=>
ServerError
)
(
queueName
:
string
)
:
ServerError
Parameters
queueName:
string
Returns
ServerError
no
Class
Role
:
ServerError
no
One
To
Help
:
ServerError
no
Student
To
Announce
:
(
(
announcement
:
string
)
=>
ServerError
)
(
announcement
:
string
)
:
ServerError
Parameters
announcement:
string
Returns
ServerError
not
Hosting
:
ServerError
not
InVC
:
ServerError
queue
Already
Exists
:
(
(
name
:
string
)
=>
ServerError
)
(
name
:
string
)
:
ServerError
Parameters
name:
string
Returns
ServerError
queue
Does
Not
Exist
:
ServerError
student
Not
Found
:
(
(
studentName
:
string
)
=>
ServerError
)
(
studentName
:
string
)
:
ServerError
Parameters
studentName:
string
Returns
ServerError
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Yet
Another
Better
Office-
hour
Bot -
v4.2
Attending
Server
V2
Backups
Built
In
Handlers
Expected
Errors
Extension
Interface
Firebase
Server
Backup
Google
Sheet
Logging
Help
Queue
V2
Inertaction
Validation
Functions
Member
States
Session
Calendar
Utilities
app
command-
handling/builtin-
success-
messages
environment/environment-
manager
extensions/session-
calendar/calendar-
success-
messages
global-
states
models/hierarchy-
roles
utils/discord-
presence
Calendar
Connection
Error
Expected
Calendar
Errors
Expected
Parse
Errors
Expected
Queue
Errors
Expected
Server
Errors
Expected
Sheet
Errors
Generated using
TypeDoc