/Liofa-Bot

A Discord Bot for dealing with people speaking other languages

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Liofa Bot

A Discord Bot for dealing with people speaking other languages

Features

  • Instructs user to speak English in whichever language they're speaking (If known)

  • Deletes all future non-English Messages if User sends 3 messages within 30 minutes that are not English

Commands

Input Function
&channels Allows ignoring specific channels or ignoring all channels based on a keyword
&help Provides information about commands
&mod Moderator commands
&perms Toggles permissions per role
&reset Brings Liofa's Settings back to the default settings
&settings Edit various settings for Liofa
&toggle Turns Liofa on/off
&whitelist Whitelists words to ignore

Translations

I would appreciate any and all help with translations. I only speak English myself so most translations I am using are from google translate or my friends.

To Do List

  • Add in configurable settings per server for

    • Time
    • Warning count start
    • Warning count end
    • Acceptable Language(s)
    • Prefixes
    • Whitelisted words
    • Ignored Channels
    • Responses
  • Planned Commands

    • Remove warnings
    • Change Settings
    • Change Permissions
    • Reset all settings
    • Help command
  • Add configurable roles that are excluded

  • Add configurable channels that are ignored

  • Permissions system

  • Add a way for moderators to tell what language someone is speaking

  • Change to per server filesystem

  • Learn how to use databases so I'm not saving information in a JSON

  • Find a pretty profile picture for the bot

  • Make bot output embed messages

  • Enable versions checking and automatic updating for each server's files

  • Ignore emojis

  • Stop using one big "Liofa Data" Variable and read the files each time

  • Set up Slash commands

About Liofa

Liofa (or Líofa) is Irish for "fluent".

I came up with the idea because I'm an administrator for a discord server where it is against the rules to speak languages other than English. I found it frustrating to have to translate "Please speak English" into so many languages that I decided to make a command using another Discord bot to do this instead. Then I had the idea to just automate the process with my own bot.

I hope you all enjoy my little bot. If you have any questions or suggestions, please do let me know. I'm still relatively new to coding so I accept any and all criticism.