Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
Tawmy edited this page Nov 2, 2022 · 11 revisions

Welcome to the Leyla.Bot wiki!

This wiki is a heavy work in progress, entire pages will be changing rapidly.

Privacy First

Did you realise that bots using text commands need to read every single message sent? This has various implications:

  • A bot using text commands needs to read everything people write to even know whether a message is a command.
  • Said bot needs to be able to read messages in every single channel you want to use it in.
  • You need to be able to fully trust the bot developer(s) to not process your data. Especially if your bot is closed source, who says they do not save your messages in a database, or use the bot to read along?

When I created Leyla, I wanted privacy built-in, by design. By using exclusively slash commands, the bot has these advantages:

  • It does not read your messages. It can't, and it has no need to. By sending a slash command, Leyla gets only the information it needs in that very moment.
  • Leyla does not even need permission to send messages. Since a user specifically requests Leyla to give it information, it has permission to reply to that single request.
  • Slash commands guide a user through their usage. No need to remember how to use a command exactly, and which order the arguments were in. Every command Leyla offers has descriptions of the command itself and every single parameter while the user is entering them.

But Leyla offers logs, anti-spam, and anti-raid. How is that supposed to work?

It doesn't. These functions need to read every single message. To not compromise Leylas' focus on privacy, it is split into multiple modules. The Leyla Logs and Leyla Spam modules require more permissions than the main Leyla module does.