Skip to main content

Adding New Languages To Monni

· 2 min read
Inkdog
Monni Developer

A simple guide on adding new translated languages to Monni!


To get started with translating, you'll want to register with an account with Weblate..

Once your account is made, your ready to start. Head to the folder named "Monni bot".

Here is our simple guide on adding a translation projects from English to (Your native language!):

How to find a Discord Guild ID

· One min read
Aszduh
Monni Developer

When troubleshooting problems it can be useful to know what server a problem is occurring in. One way to quickly locate a server is using the unique Guild ID given to each individual server.

Finding a Guild ID


Locating the Guild ID first requires turning on Discord's Developer Mode which enables options in menus that are primarily used to aid in working with the Discord API.

Discord hierarchy explained

· 5 min read
Iraas
Monni Developer

Discord uses a hierarchy based permissions system for guild management. This is a powerful system, but the ability for hierarchies to overlap and overwrite each other creates a very complex and, at times, difficult-to-understand system. In the hierarchy, the position of a role matters. For example, kicking, banning, or changing roles cannot be done to a person higher than you in the hierarchy.

warning

Administrators can bypass every other hierarchy permission, except for affecting people higher in the hierarchy.

Common pitfalls

Before we look at how the role hierarchy works in detail, let's go over a few common issues with the role hierarchy system.

Changing slash command permissions

· 2 min read
Iraas
Monni Developer

Discord has a built-in support for changing who and where slash commands and context menus can be used.

warning

In order to change permissions of commands you need to be an administrator of the server!

danger

Changing these settings isn't supported in the mobile versions of discord.

Changing permissions

To get started head to server settings.

server-settings-example.png

Discord Markdown

· 5 min read
Iraas
Monni Developer
Aszduh
Monni Developer

Discord has a built in markdown engine. Features of this engine range from typical markdown such as bold and italics to timestamps and code blocks.

Text Formatting


InputResult
Italics*Italics* or _Italics_
Bold**Bold**
Bold italics***Bold italics***
Underline__Underline__
Strikethrough~~Strikethrough~~

Different text formattings can be combined. For example you can combine underline and italics with
*__underline and italics__*.

text-format

Colored text on Discord

· 4 min read
Iraas
Monni Developer

Discord has the capabilities to display colored text through code blocks and syntax highlighting. The library discord uses for highlighting is highlight.js. Code blocks also supports ANSI which offers a more controllable coloring experience.

warning

Features discussed in this page aren’t currently supported on mobile!

Ansi


Discord offers support for ANSI colored text through code blocks. To get started you need to copy the escape unicode character used (\u001b). To copy the raw character use the copy button below.



Now that you know how to copy the escape character, Let’s go over how the ANSI is structured. To be able to send colored messages you need to use the ANSI language on a code block. After that, you need to make sure to use the correct format as a prefix before your text. \u001b[{format code};{ansi code};{ansi code}m. We will go over the codes later on. To reset to default use the \u001b[0m prefix.

Example message with the \u001b character unescaped.

```ansi
Red text with blue background.
```

ansi-example