diff options
| -rw-r--r-- | Procfile | 2 | ||||
| -rw-r--r-- | src/bot.ts | 4 | ||||
| -rw-r--r-- | src/commands/bot/api.ts | 5 |
3 files changed, 6 insertions, 5 deletions
@@ -1 +1 @@ -web: node ./dist/app.js +worker: node ./dist/app.js @@ -1,7 +1,7 @@ import config from './config.json'; import { CommandoClient } from 'discord.js-commando'; // @ts-ignore no default import -import WS from './server'; +//import WS from './server'; import Welcome from './models/welcome.js'; import Goodbye from './models/goodbye.js'; import mongoose from 'mongoose'; @@ -18,7 +18,7 @@ const client = new CommandoClient({ invite: 'https://discord.gg/DVwXUwx' }); -const ws = new WS(process.env.PORT, client) +//const ws = new WS(process.env.PORT, client) client.registry .registerDefaultTypes() diff --git a/src/commands/bot/api.ts b/src/commands/bot/api.ts index 7a9cbf3..98486a9 100644 --- a/src/commands/bot/api.ts +++ b/src/commands/bot/api.ts @@ -20,7 +20,8 @@ module.exports = class APIBot extends Command { } run(msg: CommandoMessage) { let emb = new MessageEmbed() - .setDescription('Here\'s a link to my [API](http://uwufier.kyzer.co/api/v1/). (To use, copy the given URL, then append the API endpoints looking to get to it.) As for documentation, it is currently under heavy re-writing. As soon as the documentation goes live, you can read through it on the [official uwufier website](https://kyzer.co/discord/bots/uwufier/)! ' + emoji.random()) - msg.say(emb) + //.setDescription('Here\'s a link to my [API](http://uwufier.kyzer.co/api/v1/). (To use, copy the given URL, then append the API endpoints looking to get to it.) As for documentation, it is currently under heavy re-writing. As soon as the documentation goes live, you can read through it on the [official uwufier website](https://kyzer.co/discord/bots/uwufier/)! ' + emoji.random()) + .setDescription(`Uwifier's API is currently down. ${emoji.random()}`) + msg.say(emb) } };
\ No newline at end of file |