twopg / bot Goto Github PK
View Code? Open in Web Editor NEWSimple multi-purpose Discord bot made with TypeScript
Home Page: https://help.codea.live/projects/2pg
License: MIT License
Simple multi-purpose Discord bot made with TypeScript
Home Page: https://help.codea.live/projects/2pg
License: MIT License
Bb
its no longer in readme
there is a error when using the demo in glitch
/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:434
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/data/db-wrapper.ts(8,24): error TS1243: 'async' modifier cannot be used with 'abstract' modifier.
at createTSError (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:434:12)
at reportTSError (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:438:19)
at getOutput (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:578:36)
at Object.compile (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:775:32)
at Module.m._compile (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:858:43)
at Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Object.require.extensions. [as .ts] (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:861:12)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/app/src/data/logs.ts:2:1)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Module.m._compile (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:858:23)
at Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Object.require.extensions. [as .ts] (/rbd/pnpm-volume/e2f90087-0fee-4e19-b4ae-c57ff8312858/node_modules/.registry.npmjs.org/ts-node/8.10.2/node_modules/ts-node/src/index.ts:861:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:bot: ts-node src/bot.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start:bot script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npm-cache/12.0.0/_logs/2020-11-22T02_28_54_363Z-debug.log
please fix this
I have a Question How do I fix invalid key that pops up anytime i try to log in
Hey, maybe you can add a command that saves Moderator roles to the database and in the precondition you can add serverMod || or so that it checks that the user is either a moderator or has the required permissions.
Maybe a nice suggestion :P
Hey! I got a question, how can I run a Dashboard project and a bot project on the same server (ubuntu server 20.04), if the projects are in different folders.
concurrently does not work, gives the error mongoose is not default import, if you fix it, then mongoose is default import, help!
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.