Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dotaoi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotaoi

.dot plugin for AOI.JS

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by1100%
Maintainers
1
Weekly downloads
 
Created
Source

dotaoi

.aoi is a file extension created by me to make creating commands in AOI.JS easier.


How to setup

Below we will have a list of commands for you to setup this "plugin".

Clone repo

Execute this command first:

git clone https://github.com/apenasigordev/dotaoi.git

Environment Variables

After that, create a file called .env, and put this:

TOKEN="YOUR BOT TOKEN"

Create Commands

Now go to the commands folder and create the command you want.

NOTE: all commands needs starts with NAME {commandName}; ALIASES {commandAliases (optional)}; to set command name and aliases

Categories

Go to index.js and on the last line put this:

aoiFile.loadCommands(bot, true) // Just add "true"

Now you can separate the files by categories, creating a file with the name of the category you want.

This is already set to true, but if you don't want categories, just remove it.

Custom extension

You also can change from .aoi to .{something}.

Go to index.js and on the last line put this:

aoiFile.loadCommands(bot, true, ".owo") // Just add ".owo"

Now rename all .aoi files extension to the file extension you put.

Keywords

FAQs

Package last updated on 19 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc