Initial commit

This commit is contained in:
TrèsAbhi authored and GitHub committed 2023-04-17 19:02:53 -05:00
commit 8462901ef7
110 files changed
+11734

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{
"bot": {
"name": "My Bot",
"author": "My Name"
},
"emojis": {
"yes": "✅",
"no": "❌",
"enabled": "🟢",
"disabled": "🔴",
"info": "ℹ️",
"warning": "⚠️",
"previous": "◀️",
"next": "▶️",
"first": "⏪",
"last": "⏩",
"refresh": "🔄"
},
"colors": {
"default": "#0099ff",
"success": "#00ff83",
"warning": "#ffcc66",
"error": "#ff4a4a"
},
"links": {
"author": "https://github.com/",
"docs": "https://top.gg/",
"donate": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EW389DYYSS4FC",
"invite": "https://discord.com/",
"source": "https://github.com/",
"stream": "https://www.twitch.tv/novakevin",
"support": "https://support.discord.com/",
"template": "https://github.com/KevinNovak/Discord-Bot-TypeScript-Template",
"vote": "https://top.gg/"
}
}
+295
View File
@@ -0,0 +1,295 @@
{
"data": {
"displayEmbeds": {
"welcome": {
"title": "Thank you for using {{COM:bot.name}}!",
"description": ["{{REF:bot.description}}"],
"fields": [
{
"name": "Important {{REF:fields.commands}}",
"value": ["{{CMD_LINK_HELP}} - {{REF:commandDescs.help}}"]
},
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.docsEmbed}}", "{{REF:links.supportEmbed}}"]
}
]
},
"helpContactSupport": {
"title": "Help - {{REF:helpOptions.contactSupport}}",
"description": [
"Have a question or feedback? Join our support server at the link below!"
],
"fields": [
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.supportEmbed}}"]
}
]
},
"helpCommands": {
"title": "Help - {{REF:helpOptions.commands}}",
"fields": [
{
"name": "Commands",
"value": [
"To see the available commands, just type `/` and select the bot from the left side. You can then scroll through all available commands. Some commands may be hidden if you don't have permission to view them.",
"",
"{{CMD_LINK_TEST}} - {{REF:commandDescs.test}}",
"{{CMD_LINK_INFO}} - {{REF:commandDescs.info}}"
]
},
{
"name": "Command Permissions",
"value": [
"Want to restrict commands to certain roles, users, or channels? Set up permissions in the bot's integration page by going to **Server Settings** > **Integrations**, and then **Manage** for this bot."
]
},
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.docsEmbed}}", "{{REF:links.supportEmbed}}"]
}
]
},
"test": {
"description": "Test command works!"
},
"viewDateJoined": {
"description": "{{TARGET}} joined on {{DATE}}!"
},
"viewDateSent": {
"description": "This message was sent on {{DATE}}!"
},
"about": {
"title": "{{COM:bot.name}} - About",
"description": "{{REF:bot.description}}",
"fields": [
{ "name": "Author", "value": "{{REF:links.authorEmbed}}" },
{
"name": "{{REF:fields.links}}",
"value": [
"{{REF:links.sourceEmbed}}",
"{{REF:links.docsEmbed}}",
"{{REF:links.voteEmbed}}",
"{{REF:links.donateEmbed}}",
"{{REF:links.supportEmbed}}",
"{{REF:links.inviteEmbed}}"
]
},
{
"name": "Created With",
"value": ["{{REF:links.templateEmbed}}"]
}
]
},
"translate": {
"title": "{{COM:bot.name}} - Translations",
"description": "Thank you to our translators who have made it possible for {{COM:bot.name}} to be used in the following languages. If you are interested in providing a translation, please contact the staff in our [support server]({{COM:links.support}})."
},
"dev": {
"title": "{{COM:bot.name}} - Developer Info",
"fields": [
{
"name": "Versions",
"value": [
"**Node.js**: {{NODE_VERSION}}",
"**TypeScript**: {{TS_VERSION}}",
"**ECMAScript**: {{ES_VERSION}}",
"**discord.js**: {{DJS_VERSION}}"
]
},
{
"name": "Stats",
"value": [
"**Shards**: {{SHARD_COUNT}}",
"**Servers**: {{SERVER_COUNT}} ({{SERVER_COUNT_PER_SHARD}}/Shard)"
]
},
{
"name": "Memory",
"value": [
"**RSS**: {{RSS_SIZE}} ({{RSS_SIZE_PER_SERVER}}/Server)",
"**Heap**: {{HEAP_TOTAL_SIZE}} ({{HEAP_TOTAL_SIZE_PER_SERVER}}/Server)",
"**Used**: {{HEAP_USED_SIZE}} ({{HEAP_USED_SIZE_PER_SERVER}}/Server)"
]
},
{
"name": "IDs",
"value": [
"**Hostname**: {{HOSTNAME}}",
"**Shard ID**: {{SHARD_ID}}",
"**Server ID**: {{SERVER_ID}}",
"**Bot ID**: {{BOT_ID}}",
"**User ID**: {{USER_ID}}"
]
}
]
}
},
"validationEmbeds": {
"cooldownHit": {
"description": "You can only run this command {{AMOUNT}} time(s) every {{INTERVAL}}. Please wait before attempting this command again.",
"color": "{{COM:colors.warning}}"
},
"devOnly": {
"description": "This action can only be done by developers.",
"color": "{{COM:colors.warning}}"
},
"missingClientPerms": {
"description": [
"I don't have all permissions required to run that command here! Please check the server and channel permissions to make sure I have the following permissions.",
"",
"Required permissions: {{PERMISSIONS}}"
],
"color": "{{COM:colors.warning}}"
}
},
"errorEmbeds": {
"command": {
"description": "Something went wrong!",
"fields": [
{
"name": "Error code",
"value": "{{ERROR_CODE}}"
},
{
"name": "Server ID",
"value": "{{GUILD_ID}}"
},
{
"name": "Shard ID",
"value": "{{SHARD_ID}}"
},
{
"name": "Contact support",
"value": "{{COM:links.support}}"
}
],
"color": "{{COM:colors.error}}"
},
"startupInProcess": {
"description": "{{COM:bot.name}} is still starting up. Try again later.",
"color": "{{COM:colors.warning}}"
},
"notImplemented": {
"description": "This feature has not been implemented yet!",
"color": "{{COM:colors.warning}}"
}
},
"channelRegexes": {
"bot": "/bot|command|cmd/i"
}
},
"refs": {
"meta": {
"translators": "[TranslatorName#1234](https://github.com/)"
},
"bot": {
"description": "{{REF:links.templateEmbed}} helps give developers a starting point for new Discord bots, so that much of the initial setup can be avoided and developers can instead focus on meaningful bot features."
},
"chatCommands": {
"help": "help",
"info": "info",
"test": "test"
},
"userCommands": {
"viewDateJoined": "View Date Joined"
},
"messageCommands": {
"viewDateSent": "View Date Sent"
},
"arguments": {
"option": "option"
},
"commandDescs": {
"help": "Find help or contact support.",
"info": "View bot info.",
"test": "Run the test command."
},
"argDescs": {
"helpOption": "Option.",
"infoOption": "Option."
},
"fields": {
"commands": "Commands",
"links": "Links"
},
"permissions": {
"AddReactions": "Add Reactions",
"Administrator": "Administrator",
"AttachFiles": "Attach Files",
"BanMembers": "Ban Members",
"ChangeNickname": "Change Nickname",
"Connect": "Connect",
"CreateInstantInvite": "Create Invite",
"CreatePrivateThreads": "Create Private Threads",
"CreatePublicThreads": "Create Public Threads",
"DeafenMembers": "Deafen Members",
"EmbedLinks": "Embed Links",
"KickMembers": "Kick Members",
"ManageChannels": "Manage Channel(s)",
"ManageEmojisAndStickers": "Manage Emoji and Stickers",
"ManageEvents": "Manage Events",
"ManageGuild": "Manage Server",
"ManageMessages": "Manage Messages",
"ManageNicknames": "Manage Nicknames",
"ManageRoles": "Manage Roles / Permissions",
"ManageThreads": "Manage Threads / Posts",
"ManageWebhooks": "Manage Webhooks",
"MentionEveryone": "Mention Everyone, Here, and All Roles",
"ModerateMembers": "Timeout Members",
"MoveMembers": "Move Members",
"MuteMembers": "Mute Members",
"PrioritySpeaker": "Priority Speaker",
"ReadMessageHistory": "Read Message History",
"RequestToSpeak": "Request to Speak",
"SendMessages": "Send Messages / Create Posts",
"SendMessagesInThreads": "Send Messages in Threads / Posts",
"SendTTSMessages": "Send Text-to-Speech Messages",
"Speak": "Speak",
"Stream": "Video",
"UseApplicationCommands": "Use Application Commands",
"UseEmbeddedActivities": "Use Activities",
"UseExternalEmojis": "Use External Emoji",
"UseExternalStickers": "Use External Stickers",
"UseVAD": "Use Voice Activity",
"ViewAuditLog": "View Audit Log",
"ViewChannel": "View Channel(s)",
"ViewGuildInsights": "View Server Insights"
},
"helpOptions": {
"contactSupport": "Contact Support",
"commands": "Commands"
},
"helpOptionDescs": {
"contactSupport": "❓ {{REF:helpOptions.contactSupport}} ❓",
"commands": "{{REF:helpOptions.commands}} -- What commands are there? How do I restrict who is allowed to use commands?"
},
"infoOptions": {
"about": "About",
"translate": "Translate",
"dev": "Dev"
},
"yesNo": {
"yes": "Yes",
"no": "No"
},
"boolean": {
"true": "True",
"false": "False"
},
"other": {
"na": "N/A"
},
"links": {
"authorEmbed": "[{{COM:bot.author}}]({{COM:links.author}})",
"docsEmbed": "[View Documentation]({{COM:links.docs}})",
"donateEmbed": "[Donate via PayPal]({{COM:links.donate}})",
"inviteEmbed": "[Invite {{COM:bot.name}} to a Server!]({{COM:links.invite}})",
"sourceEmbed": "[View Source Code]({{COM:links.source}})",
"supportEmbed": "[Join Support Server]({{COM:links.support}})",
"templateEmbed": "[Discord Bot TypeScript Template]({{COM:links.template}})",
"voteEmbed": "[Vote for {{COM:bot.name}}!]({{COM:links.vote}})"
}
}
}
+295
View File
@@ -0,0 +1,295 @@
{
"data": {
"displayEmbeds": {
"welcome": {
"title": "Thank you for using {{COM:bot.name}}!",
"description": ["{{REF:bot.description}}"],
"fields": [
{
"name": "Important {{REF:fields.commands}}",
"value": ["{{CMD_LINK_HELP}} - {{REF:commandDescs.help}}"]
},
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.docsEmbed}}", "{{REF:links.supportEmbed}}"]
}
]
},
"helpContactSupport": {
"title": "Help - {{REF:helpOptions.contactSupport}}",
"description": [
"Have a question or feedback? Join our support server at the link below!"
],
"fields": [
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.supportEmbed}}"]
}
]
},
"helpCommands": {
"title": "Help - {{REF:helpOptions.commands}}",
"fields": [
{
"name": "Commands",
"value": [
"To see the available commands, just type `/` and select the bot from the left side. You can then scroll through all available commands. Some commands may be hidden if you don't have permission to view them.",
"",
"{{CMD_LINK_TEST}} - {{REF:commandDescs.test}}",
"{{CMD_LINK_INFO}} - {{REF:commandDescs.info}}"
]
},
{
"name": "Command Permissions",
"value": [
"Want to restrict commands to certain roles, users, or channels? Set up permissions in the bot's integration page by going to **Server Settings** > **Integrations**, and then **Manage** for this bot."
]
},
{
"name": "{{REF:fields.links}}",
"value": ["{{REF:links.docsEmbed}}", "{{REF:links.supportEmbed}}"]
}
]
},
"test": {
"description": "Test command works!"
},
"viewDateJoined": {
"description": "{{TARGET}} joined on {{DATE}}!"
},
"viewDateSent": {
"description": "This message was sent on {{DATE}}!"
},
"about": {
"title": "{{COM:bot.name}} - About",
"description": "{{REF:bot.description}}",
"fields": [
{ "name": "Author", "value": "{{REF:links.authorEmbed}}" },
{
"name": "{{REF:fields.links}}",
"value": [
"{{REF:links.sourceEmbed}}",
"{{REF:links.docsEmbed}}",
"{{REF:links.voteEmbed}}",
"{{REF:links.donateEmbed}}",
"{{REF:links.supportEmbed}}",
"{{REF:links.inviteEmbed}}"
]
},
{
"name": "Created With",
"value": ["{{REF:links.templateEmbed}}"]
}
]
},
"translate": {
"title": "{{COM:bot.name}} - Translations",
"description": "Thank you to our translators who have made it possible for {{COM:bot.name}} to be used in the following languages. If you are interested in providing a translation, please contact the staff in our [support server]({{COM:links.support}})."
},
"dev": {
"title": "{{COM:bot.name}} - Developer Info",
"fields": [
{
"name": "Versions",
"value": [
"**Node.js**: {{NODE_VERSION}}",
"**TypeScript**: {{TS_VERSION}}",
"**ECMAScript**: {{ES_VERSION}}",
"**discord.js**: {{DJS_VERSION}}"
]
},
{
"name": "Stats",
"value": [
"**Shards**: {{SHARD_COUNT}}",
"**Servers**: {{SERVER_COUNT}} ({{SERVER_COUNT_PER_SHARD}}/Shard)"
]
},
{
"name": "Memory",
"value": [
"**RSS**: {{RSS_SIZE}} ({{RSS_SIZE_PER_SERVER}}/Server)",
"**Heap**: {{HEAP_TOTAL_SIZE}} ({{HEAP_TOTAL_SIZE_PER_SERVER}}/Server)",
"**Used**: {{HEAP_USED_SIZE}} ({{HEAP_USED_SIZE_PER_SERVER}}/Server)"
]
},
{
"name": "IDs",
"value": [
"**Hostname**: {{HOSTNAME}}",
"**Shard ID**: {{SHARD_ID}}",
"**Server ID**: {{SERVER_ID}}",
"**Bot ID**: {{BOT_ID}}",
"**User ID**: {{USER_ID}}"
]
}
]
}
},
"validationEmbeds": {
"cooldownHit": {
"description": "You can only run this command {{AMOUNT}} time(s) every {{INTERVAL}}. Please wait before attempting this command again.",
"color": "{{COM:colors.warning}}"
},
"devOnly": {
"description": "This action can only be done by developers.",
"color": "{{COM:colors.warning}}"
},
"missingClientPerms": {
"description": [
"I don't have all permissions required to run that command here! Please check the server and channel permissions to make sure I have the following permissions.",
"",
"Required permissions: {{PERMISSIONS}}"
],
"color": "{{COM:colors.warning}}"
}
},
"errorEmbeds": {
"command": {
"description": "Something went wrong!",
"fields": [
{
"name": "Error code",
"value": "{{ERROR_CODE}}"
},
{
"name": "Server ID",
"value": "{{GUILD_ID}}"
},
{
"name": "Shard ID",
"value": "{{SHARD_ID}}"
},
{
"name": "Contact support",
"value": "{{COM:links.support}}"
}
],
"color": "{{COM:colors.error}}"
},
"startupInProcess": {
"description": "{{COM:bot.name}} is still starting up. Try again later.",
"color": "{{COM:colors.warning}}"
},
"notImplemented": {
"description": "This feature has not been implemented yet!",
"color": "{{COM:colors.warning}}"
}
},
"channelRegexes": {
"bot": "/bot|command|cmd/i"
}
},
"refs": {
"meta": {
"translators": "[TranslatorName#1234](https://github.com/)"
},
"bot": {
"description": "{{REF:links.templateEmbed}} helps give developers a starting point for new Discord bots, so that much of the initial setup can be avoided and developers can instead focus on meaningful bot features."
},
"chatCommands": {
"help": "help",
"info": "info",
"test": "test"
},
"userCommands": {
"viewDateJoined": "View Date Joined"
},
"messageCommands": {
"viewDateSent": "View Date Sent"
},
"arguments": {
"option": "option"
},
"commandDescs": {
"help": "Find help or contact support.",
"info": "View bot info.",
"test": "Run the test command."
},
"argDescs": {
"helpOption": "Option.",
"infoOption": "Option."
},
"fields": {
"commands": "Commands",
"links": "Links"
},
"permissions": {
"AddReactions": "Add Reactions",
"Administrator": "Administrator",
"AttachFiles": "Attach Files",
"BanMembers": "Ban Members",
"ChangeNickname": "Change Nickname",
"Connect": "Connect",
"CreateInstantInvite": "Create Invite",
"CreatePrivateThreads": "Create Private Threads",
"CreatePublicThreads": "Create Public Threads",
"DeafenMembers": "Deafen Members",
"EmbedLinks": "Embed Links",
"KickMembers": "Kick Members",
"ManageChannels": "Manage Channel(s)",
"ManageEmojisAndStickers": "Manage Emoji and Stickers",
"ManageEvents": "Manage Events",
"ManageGuild": "Manage Server",
"ManageMessages": "Manage Messages",
"ManageNicknames": "Manage Nicknames",
"ManageRoles": "Manage Roles / Permissions",
"ManageThreads": "Manage Threads / Posts",
"ManageWebhooks": "Manage Webhooks",
"MentionEveryone": "Mention Everyone, Here, and All Roles",
"ModerateMembers": "Timeout Members",
"MoveMembers": "Move Members",
"MuteMembers": "Mute Members",
"PrioritySpeaker": "Priority Speaker",
"ReadMessageHistory": "Read Message History",
"RequestToSpeak": "Request to Speak",
"SendMessages": "Send Messages / Create Posts",
"SendMessagesInThreads": "Send Messages in Threads / Posts",
"SendTTSMessages": "Send Text-to-Speech Messages",
"Speak": "Speak",
"Stream": "Video",
"UseApplicationCommands": "Use Application Commands",
"UseEmbeddedActivities": "Use Activities",
"UseExternalEmojis": "Use External Emoji",
"UseExternalStickers": "Use External Stickers",
"UseVAD": "Use Voice Activity",
"ViewAuditLog": "View Audit Log",
"ViewChannel": "View Channel(s)",
"ViewGuildInsights": "View Server Insights"
},
"helpOptions": {
"contactSupport": "Contact Support",
"commands": "Commands"
},
"helpOptionDescs": {
"contactSupport": "❓ {{REF:helpOptions.contactSupport}} ❓",
"commands": "{{REF:helpOptions.commands}} -- What commands are there? How do I restrict who is allowed to use commands?"
},
"infoOptions": {
"about": "About",
"translate": "Translate",
"dev": "Dev"
},
"yesNo": {
"yes": "Yes",
"no": "No"
},
"boolean": {
"true": "True",
"false": "False"
},
"other": {
"na": "N/A"
},
"links": {
"authorEmbed": "[{{COM:bot.author}}]({{COM:links.author}})",
"docsEmbed": "[View Documentation]({{COM:links.docs}})",
"donateEmbed": "[Donate via PayPal]({{COM:links.donate}})",
"inviteEmbed": "[Invite {{COM:bot.name}} to a Server!]({{COM:links.invite}})",
"sourceEmbed": "[View Source Code]({{COM:links.source}})",
"supportEmbed": "[Join Support Server]({{COM:links.support}})",
"templateEmbed": "[Discord Bot TypeScript Template]({{COM:links.template}})",
"voteEmbed": "[Vote for {{COM:bot.name}}!]({{COM:links.vote}})"
}
}
}
+60
View File
@@ -0,0 +1,60 @@
{
"info": {
"appStarted": "Application started.",
"apiStarted": "API started on port {PORT}.",
"commandActionView": "\nLocal and remote:\n {LOCAL_AND_REMOTE_LIST}\nLocal only:\n {LOCAL_ONLY_LIST}\nRemote only:\n {REMOTE_ONLY_LIST}",
"commandActionCreating": "Creating commands: {COMMAND_LIST}",
"commandActionCreated": "Commands created.",
"commandActionUpdating": "Updating commands: {COMMAND_LIST}",
"commandActionUpdated": "Commands updated.",
"commandActionRenaming": "Renaming command: '{OLD_COMMAND_NAME}' --> '{NEW_COMMAND_NAME}'",
"commandActionRenamed": "Command renamed.",
"commandActionDeleting": "Deleting command: '{COMMAND_NAME}'",
"commandActionDeleted": "Command deleted.",
"commandActionClearing": "Deleting all commands: {COMMAND_LIST}",
"commandActionCleared": "Commands deleted.",
"managerSpawningShards": "Spawning {SHARD_COUNT} shards: [{SHARD_LIST}].",
"managerLaunchedShard": "Launched Shard {SHARD_ID}.",
"managerAllShardsSpawned": "All shards have been spawned.",
"clientLogin": "Client logged in as '{USER_TAG}'.",
"clientReady": "Client is ready!",
"jobScheduled": "Scheduled job '{JOB}' for '{SCHEDULE}'.",
"jobRun": "Running job '{JOB}'.",
"jobCompleted": "Job '{JOB}' completed.",
"updatedServerCount": "Updated server count. Connected to {SERVER_COUNT} total servers.",
"updatedServerCountSite": "Updated server count on '{BOT_SITE}'.",
"guildJoined": "Guild '{GUILD_NAME}' ({GUILD_ID}) joined.",
"guildLeft": "Guild '{GUILD_NAME}' ({GUILD_ID}) left."
},
"warn": {
"managerNoShards": "No shards to spawn."
},
"error": {
"unspecified": "An unspecified error occurred.",
"unhandledRejection": "An unhandled promise rejection occurred.",
"retrieveShards": "An error occurred while retrieving which shards to spawn.",
"managerSpawningShards": "An error occurred while spawning shards.",
"managerShardInfo": "An error occurred while retrieving shard info.",
"commandAction": "An error occurred while running a command action.",
"commandActionNotFound": "Could not find a command with the name '{COMMAND_NAME}'.",
"commandActionRenameMissingArg": "Please supply the current command name and new command name.",
"commandActionDeleteMissingArg": "Please supply a command name to delete.",
"clientLogin": "An error occurred while the client attempted to login.",
"job": "An error occurred while running the '{JOB}' job.",
"updatedServerCountSite": "An error occurred while updating the server count on '{BOT_SITE}'.",
"guildJoin": "An error occurred while processing a guild join.",
"guildLeave": "An error occurred while processing a guild leave.",
"message": "An error occurred while processing a message.",
"reaction": "An error occurred while processing a reaction.",
"command": "An error occurred while processing a command interaction.",
"button": "An error occurred while processing a button interaction.",
"commandNotFound": "[{INTERACTION_ID}] A command with the name '{COMMAND_NAME}' could not be found.",
"autocompleteNotFound": "[{INTERACTION_ID}] An autocomplete method for the '{COMMAND_NAME}' command could not be found.",
"commandGuild": "[{INTERACTION_ID}] An error occurred while executing the '{COMMAND_NAME}' command for user '{USER_TAG}' ({USER_ID}) in channel '{CHANNEL_NAME}' ({CHANNEL_ID}) in guild '{GUILD_NAME}' ({GUILD_ID}).",
"autocompleteGuild": "[{INTERACTION_ID}] An error occurred while autocompleting the '{OPTION_NAME}' option for the '{COMMAND_NAME}' command for user '{USER_TAG}' ({USER_ID}) in channel '{CHANNEL_NAME}' ({CHANNEL_ID}) in guild '{GUILD_NAME}' ({GUILD_ID}).",
"commandOther": "[{INTERACTION_ID}] An error occurred while executing the '{COMMAND_NAME}' command for user '{USER_TAG}' ({USER_ID}).",
"autocompleteOther": "[{INTERACTION_ID}] An error occurred while autocompleting the '{OPTION_NAME}' option for the '{COMMAND_NAME}' command for user '{USER_TAG}' ({USER_ID}).",
"apiRequest": "An error occurred while processing a '{HTTP_METHOD}' request to '{URL}'.",
"apiRateLimit": "A rate limit was hit while making a request."
}
}