remove server
This commit is contained in:
parent
9fde9ffb85
commit
64998d6224
3 changed files with 2 additions and 393 deletions
14
index.ts
14
index.ts
|
@ -3,20 +3,6 @@ import { commands, aliases } from './commands';
|
|||
|
||||
import * as BuildConfig from './constants';
|
||||
import Filter from 'bad-words';
|
||||
import Koa from 'koa';
|
||||
|
||||
{
|
||||
const app = new Koa();
|
||||
|
||||
app.use(async (ctx) => {
|
||||
ctx.body = 'Hello there';
|
||||
ctx.res.setHeader('content-type', 'text/plain');
|
||||
});
|
||||
|
||||
app.listen(3000, () => {
|
||||
console.log('Started server!');
|
||||
});
|
||||
}
|
||||
|
||||
const client = new Client({
|
||||
intents: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue