Skip to content

0xe2d0/OTBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTBot

🤖 Description

One-Time Invite Link Generator For Your Discord Server With A Web Page.

⭐ Please Star The Repository

Please star to make the repository stand out 🙏.

💥 Installation

You need Nodejs in your computer.

git clone https://github.com/0xe2d0/OTBot
npm install

😎 Usage

  • First, you need a discord bot. You can create this link
  • Secondly, paste your bot's token into the token section in the config.json file.
  • Then, you invite the bot your server.
  • Finally, you can execute this command on the terminal.
    node main.js
  • So your bot is up💥

☘️ Customizing

Custom port

• If you change the site port . You can change the port section in the config.json file for custom port. Value type is number . Default 1337.

Custom max link usage timeframe

• If you change the maximum link usage timeframe , you can change the max-age section in the config.json file. Value type is second . Default 1 hour.

Custom max link usage

• If you change the maximum link usage , you can change the max-uses section in config.json file. Value type is number. Default 1.

Custom template

• You edit the index.html file for custom template.

If everything is ok..

You go to the http://localhost:1337/ and see the magic 🤠.