mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-11-16 09:15:57 -05:00
UwU
This commit is contained in:
parent
0796d13937
commit
97970c23f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
.DS_Store
|
||||
/src/config.js
|
16
README.md
16
README.md
@ -1,3 +1,19 @@
|
||||
# Osselbot
|
||||
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)
|
||||
|
||||
**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 homedir = require('os').homedir;
|
||||
const info = require("../package.json");
|
||||
// const fetch = require('node-fetch');
|
||||
//importing files
|
||||
const config = require("./config.json");
|
||||
// This is making clients
|
||||
@ -132,7 +131,7 @@ client.on("message", async message => {
|
||||
|
||||
if (command === "va") {
|
||||
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") {
|
||||
|
Loading…
Reference in New Issue
Block a user