mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-12-22 07:26:22 -05:00
ag
This commit is contained in:
parent
3bb8fc6d76
commit
95e85be5de
10
src/index.js
10
src/index.js
@ -6,7 +6,7 @@ const readline = require('readline');
|
||||
const {google} = require('googleapis');
|
||||
const fetch = require('isomorphic-fetch');
|
||||
|
||||
const TOKEN_PATH = 'token.json';
|
||||
//importing files
|
||||
const config = require("./config.json");
|
||||
// This is making clients
|
||||
const client = new Discord.Client();
|
||||
@ -150,11 +150,11 @@ client.on("message", async message => {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
if(command === "quote") {
|
||||
if(toLowerCase(args[0]) === "add") {
|
||||
let quote = args.shift()
|
||||
let quote = args.shift();
|
||||
const quotes = require('~/.quotes.json');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
if (command === "version") {
|
||||
return message.channel.send("```\
|
||||
|
Loading…
Reference in New Issue
Block a user