Skip to content

Commit

Permalink
Updated with 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzLeref committed Apr 30, 2021
1 parent 5e51462 commit 0efd9ca
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 4,007 deletions.
16 changes: 7 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
updatedCommands.json
AOWIFBOAISD
API.js
API.js
BOOSTER_API_ROUTES
commands
commands
new-database
config.json
genID.js
test.js
index-checkLength.js
my.draw
reader.js
song.mp3
config.json
genID.js
index.js
index-checkLength.js
reader.js
transfer.js
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2021 Aoi.JS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<br />
<p>
<a href="https://dbd.leref.ga"><img src="https://cdn.discordapp.com/attachments/804505335397744650/816746774571515914/dbdjs.png" alt="dbd.js" /></a>
<a href="https://dbd.js.org/invite"><img src="https://cdn.discordapp.com/attachments/804505461076131840/837194632148287509/Aoi.js_6_ver._2.png" alt="aoi.js" /></a>
</p>

# DBD.JS
[![NPM Downloads](https://img.shields.io/npm/dt/dbd.js.svg?maxAge=3600)](https://www.npmjs.com/package/dbd.js)
# Aoi.JS
[![NPM Downloads](https://img.shields.io/npm/dt/aoi.js.svg?maxAge=3600)](https://www.npmjs.com/package/aoi.js)
[![Discord Server](https://img.shields.io/discord/773352845738115102?color=7289da&logo=discord&logoColor=white)](https://dbd.js.org/invite)

## Table Of Contents
Expand All @@ -19,7 +19,7 @@


## About
DBD.JS is a package that aim to allows you to make your Discord Bots with Ease.
Aoi.JS is a package that aim to allows you to make your Discord Bots with Ease.

Aiming to be the easiest package to learn <br>
It's swift and flexible using functions </br>
Expand All @@ -28,9 +28,9 @@ It's swift and flexible using functions </br>

### Setup
```js
const dbd = require("dbd.js")
const Aoijs = require("aoi.js")

const bot = new dbd.Bot({
const bot = new Aoijs.Bot({
token: "TOKEN", //Discord Bot Token
prefix: "!" //Customizable
})
Expand All @@ -44,9 +44,9 @@ code: `$ping Pong!` //Code

### Variables

What are variables? They can be used for many things, especially allowing to save data.
What are variables?

This allows to create potential currency system, level system, etc.
Variables are Key-Value based data which is stored in the database, useful for Economy and Leveling system as it is allows you to save data.

```js
bot.variables({
Expand All @@ -59,8 +59,8 @@ bot.variables({

What are callbacks?

It's simple and easy process, it essentially allows you to run events, such as user joining a Guild.
This will trigger a event, causing a code to be executed such as.
It's simple and easy process, it essentially allows you to trigger events, such as user joining a Guild.
This will trigger an event, causing commands with supported type for each callbacks to be executed such as.

```js
bot.joinCommand({
Expand All @@ -79,7 +79,7 @@ With easy and simple functions, you can make Slash Commands with your Bots quick
```js
bot.command({
name: "slash",
code: `$createSlashCommand[$guildID;version;Returns DBD.js Version]`
code: `$createSlashCommand[$guildID;version;Returns Aoi.js Version]`
})
bot.interactionCommand({
name: "version",
Expand Down Expand Up @@ -109,7 +109,7 @@ code: `$playSong[song;leave vc time;defean (yes or no);leave when vc empty (yes/
More Information in our [Documentation](https://dbd.leref.ga/guide/music)

## Links
DBD.JS was made by [DBD.JS Team](https://discord.gg/HMUfMXDQsV)
Aoi.JS was made by [Aoi.JS Team](https://discord.gg/HMUfMXDQsV)
- [Website](https://dbd.js.org)
- [Discord Server](https://dbd.js.org/invite)
- [Documentation](https://dbd.leref.ga)
1,179 changes: 0 additions & 1,179 deletions UsageCheck2.txt

This file was deleted.

635 changes: 0 additions & 635 deletions Usagecheck1.txt

This file was deleted.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"installed_version": "1.0.0-pre",
"name": "aoi.js",
"version": "1.0.0",
"description": "Aoi.js - Library that simplifies coding for your Discord Bot",
"description": "Aoi.js - Library that simplifies coding for developing your Discord Bot",
"main": "package/index.js",
"typings": "package/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -43,7 +43,13 @@
"files": [
"package"
],
"license": "MIT",
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"keywords": [
"aoi.js",
"api",
Expand Down
2 changes: 1 addition & 1 deletion package/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "dbd.js" {
declare module "aoi.js" {
import { Client } from "discord.js";
import { EventEmitter } from "events";

Expand Down
Loading

0 comments on commit 0efd9ca

Please sign in to comment.