Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstallationHow to Use


Installation

Prerequisite
  • To use this bot, Node.js 12.0.0 or newer must be installed.
Downloading and installing steps
  1. Download the zip file.

  2. Configure the Bot:

  3. Invite the Bot to your Server:

    • In your bot's application page, navigate to OAUTH2

    • In the "scopes" section, select bot

    • In the "bot permission" section, select:

      • ADMINISTRATOR

      This will account for permissions needed on all three features.

    • Copy and paste the generated invite link!

  4. Get the Bot Online

    • Run node index.js
    • The bot is now operational ! 🎉


How to Use

This bot starts with an empty alts.json file that will be populated with all alts submitted via the +addalt command. Thanks to the nature of fs, a built in node.js module, new alt data is physically written to the JSON file. This means that your data will be preserved, even if you restart your bot.

All users can use the +alt command (once every thirty minutes), which will send them an embedded link to your page. After a minute and thirty second has passed, one alt will be removed from the JSON list and sent to the user. This will also be logged to the channel specified in config.json

About

Created for the_unlimited_g

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages