Slash Command and Context Menu

- Doc. comming soon
This commit is contained in:
March 7th
2022-03-25 22:57:21 +07:00
parent b9ba04fecc
commit fd4a6fa509
8 changed files with 118 additions and 22 deletions

View File

@@ -155,10 +155,11 @@ const Messages = {
SWEEP_FILTER_RETURN: 'The return value of the sweepFilter function was not false or a Function',
INVALID_BOT_METHOD: `Bot accounts cannot use this method`,
INVALID_USER_METHOD: `User accounts cannot use this method`,
INVALID_LOCALE: 'Unable to select this location',
FOLDER_NOT_FOUND: 'Server directory not found',
FOLDER_POSITION_INVALID: 'The server index in the directory is invalid',
INVALID_USER_METHOD: `User accounts cannot use this method`,
INVALID_LOCALE: 'Unable to select this location',
FOLDER_NOT_FOUND: 'Server directory not found',
FOLDER_POSITION_INVALID: 'The server index in the directory is invalid',
APPLICATION_ID_INVALID: 'The application isn\'t BOT',
};
for (const [name, message] of Object.entries(Messages)) register(name, message);