Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

DiscordMessages.yml

Devin Fritz edited this page Sep 26, 2020 · 3 revisions

The Discordmessages.yml file includes (almost) every message the bot sends in your discord server. The messages are build up using json. It may look confusing at first, but its pretty easy to use and super customazible. So a "normal" message would look something like this:

NoPermissions: '{"title": "No permission", "description": "You dont have the permission for this command!", "color": "red"}'

So in the first part you got the name of the message, here its: "NoPermissions". On the second path we got our json content.

The json content is serapated in diffrent parts.

{
"title": "No permission",
 "description": "You dont have the permission for this command!",
 "color": "red"
}

So the first will be the title of the message. In this case you only have to change the content "No Permissions". The "title" is not important for this. The same goes with "description" and so on. So just change it to your privilegs. If you want to go into further, you can add a footer key. Which would then look like this:

NoPermissions: '{"title": "No permission", "description": "You dont have the permission for this command!", "color": "red", "footer": "this is a footer"}'

Clone this wiki locally