Skip to content

HeavenCrafter/Futaba.js

Repository files navigation

Futaba.js 双葉 🍁

A personal bot for HeavenHell Entertainment.

HeavenHell Entertainment Run on Repl.it Quality Gate Status Maintainability Rating Reliability Rating Vulnerabilities Bugs Duplicated Lines (%)

Futaba

Currently only includes:

  • Main Admin Commands (cd Futaba.js\commands\heavenhell)

    • teasers.js - A way to release HeavenHell server teasers and images in an embed message format to a specific channel.
    • ping.js - Checks for ping and latency through the amount of time taken to send the message.
    • roles.js - Sends an embed message listing all user-reactable roles.
    • rules.js - Sends an embed message for rules of the server.
  • Main Commands (cd Futaba.js\commands\main)

    • avatar.js - Get your own Avatar in an embed message. Supports static image and animated profiles. (PNG/JPGs/GIFs)
    • mcserver.js - Minecraft server status query in an embed message.
    • urban.js - Urban Dictionary word search. (Note: Has a tendency to not work due to Discord's word limit.)
    • weather.js - Gets the weather information from the specify location.

Note: Futaba was specifically designed for HeavenHell's Discord, if you want to make the bot fit for your own platform, feel free to fork it to your liking.

Modifying the client.login method

A friendly reminder to those who wants to setup the bot for themselves. This bot is specifically designed for and hosted on Heroku. Heroku has their own variable configuration which can be access using this line of code:

  client.login(process.env.BOT_TOKEN);

Heroku Var Config

The login line is what I use for this bot. It is located at cd Futaba.js\bot.js:

Line 32) client.login(process.env.BOT_TOKEN);

You can change it to whatever you want depending on how you host your bot. Whether is through a config file or directly within the bot.js index file itself. As long as you know what you're doing, you should be fine. Client Login Line

Installed npm packages

Future development plans for Futaba.js

I'm most likely going to slow down in terms of working on this bot as there isn't much to do. I mean I do have plans for it but at this current moment, it is what it is.

There are a couple things that I wanna get done but not right now at least.

  • Command Handler
  • FAQ Commands (Done on 21.8.2020)
  • Version List Commands (Done on 21.8.2020)
  • Event Handler (Done on 21.8.2020)
  • Leveling System
  • Automated Help Command (Done on 21.8.2020)
  • Specific User AFK Command
  • Statistic Command (Done on 21.8.2020)
  • User Info Command (Done on 21.8.2020)
  • Server Info Command (Done on 21.8.2020)
  • Starboard (Done, check out Yuno.js, a fork of @Rushnett Starboard/Smugboard.)
  • r/discord_irl Meme Command (Done on 21.8.2020)
  • Raid Lockdown Command
  • Channel Archiving Command
  • Snipe Command

I also have a few HeavenHell admin related commands/events and features that I wanna get done too.

  • Minecraft RCON (Done on 23.8.2020)
  • Automatic Minecraft Server Status Query (Sends a message whenever it can't ping the server or if its offline.)

Special thanks to @ansonfoong, @The-SourceCode and @Blob-Development for the wonderful Youtube series, it has definitely help me a lot throughout the development of Futaba.

If you're interested in adding stuff, feel free to open a pull request. 🌺

Also, Discord. For the love of fucking god. I did not release my token to the public, it doesn't even keep the bot token here, leave me alone you beta bitch. Discord Being A Bitch

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge

About

A personal bot for HeavenHell Entertainment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published