UwU
This commit is contained in:
parent
0796d13937
commit
97970c23f8
|
@ -1,2 +1,3 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
/src/config.js
|
16
README.md
16
README.md
|
@ -1,3 +1,19 @@
|
||||||
# Osselbot
|
# Osselbot
|
||||||
A bot that is kinda stupid, but it works surprisingly well
|
A bot that is kinda stupid, but it works surprisingly well
|
||||||
![Node.js CI](https://github.com/Technicolor-creamsicle/Osselbot/workflows/Node.js%20CI/badge.svg)
|
![Node.js CI](https://github.com/Technicolor-creamsicle/Osselbot/workflows/Node.js%20CI/badge.svg)
|
||||||
|
|
||||||
|
**THIS BOT REQUIRES HEAVY MODIFICATION TO WORK ON OTHER SERVERS!**
|
||||||
|
|
||||||
|
Example config.js to be placed in /src
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"token" : "API KEY",
|
||||||
|
"prefix": "?",
|
||||||
|
"verbalabuse": [
|
||||||
|
"Quotes",
|
||||||
|
"to insult.",
|
||||||
|
"your members."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"token": "Njc4MDkzNjY4NzcwNTEyOTE3.Xr7SNw.XS_D_dEJ7hX6N5Rmnfr_OQpfznU",
|
|
||||||
"prefix": "?",
|
|
||||||
"abuse": [
|
|
||||||
"May you never reproduce",
|
|
||||||
"I can eat a bowl of alphabet soup and shit out a more coherent sentence than you.",
|
|
||||||
"you are living proof darwinism is dead, hell, even reversing."
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -10,7 +10,6 @@ const prettyMilliseconds = require('pretty-ms');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const homedir = require('os').homedir;
|
const homedir = require('os').homedir;
|
||||||
const info = require("../package.json");
|
const info = require("../package.json");
|
||||||
// const fetch = require('node-fetch');
|
|
||||||
//importing files
|
//importing files
|
||||||
const config = require("./config.json");
|
const config = require("./config.json");
|
||||||
// This is making clients
|
// This is making clients
|
||||||
|
@ -132,7 +131,7 @@ client.on("message", async message => {
|
||||||
|
|
||||||
if (command === "va") {
|
if (command === "va") {
|
||||||
let num = Math.floor(Math.random() * (config.abuse.length + 1)); //The maximum is exclusive and the minimum is inclusive
|
let num = Math.floor(Math.random() * (config.abuse.length + 1)); //The maximum is exclusive and the minimum is inclusive
|
||||||
return message.reply(`${config.abuse[num]}`)
|
return message.reply(`${config.verbalabuse[num]}`)
|
||||||
}
|
}
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
if (command === "say") {
|
if (command === "say") {
|
||||||
|
|
Loading…
Reference in New Issue