GithubHelp home page GithubHelp logo

peterhanania / pogy Goto Github PK

View Code? Open in Web Editor NEW
258.0 258.0 215.0 7.62 MB

A fully customizable discord bot made with discord.js with over 183 commands, 12 categories, and a fully customizable dashboard. Watching over 350,000 users and 1k guilds. [deprecated]

Home Page: https://pogy.xyz

License: Apache License 2.0

JavaScript 56.94% CSS 5.06% EJS 38.00% Shell 0.01%
dashboard discord discordbot discorddashboard discordjs javascript moderation multipurpose-bot nodejs

pogy's Introduction



Pogy the Discord Bot [ Discord.js v12 ]

A fully customizable bot built with 183 commands, 12 categories and a dashboard!

AboutFeaturesInstallationSetting UpLicenseDonateCredits

About

Pogy is a discord bot that took over 4 months of work to make. I decided to make the bot open sourced to whoever wants to run a copy in their server! You can click this link to invite the official Bot! Also, you can join the official Pogy's Support Server for assistance.

If you like this repository, feel free to leave a star ⭐ and follow me, it actually means a lot.

183+ commands and 12 different categories!

  • alt detector: Blocks alts from the guild
  • applications: Manage applications from the website
  • config: Configure server settings
  • utility: Some utility commands
  • economy: Started but not done
  • fun: A ton of commands to keep your server active
  • images: Image Commands
  • information: Information Commands
  • moderation: Mod commands to moderate your discord server
  • nsfw: 👀
  • reaction roles: Reaction roles
  • tickets: Guild tickets for support

Pogy even has the following features on the website

  • Ticket Transcripts + Application Transcripts
  • Contact & Report page
  • Welcome messages and farewell messages including embeds.
  • Full customizable Logging and moderation
  • Full customizable Suggestions and Server Reports
  • A built in Premium system
  • A built in maintenance mode
  • A members Page
  • Auto Mod, Levelling, and Commands ( not done )
  • Built in TOP.gg API

Webhooks: (for developers) With Pogy You can even log everything using webhooks. ( you will have to change each webhook using visual studio code )

Installation

First clone the repo:

git clone https://github.com/peterhanania/Pogy.git

After cloning, run an

npm install

Setting Up

Your config.json should look like this:

{
  "main_token": process.env.token, 
  "mongodb_url": "", // Mongo DB URL
  "developers": ["", ""], // Developers ID
  "datadogApiKey": "", // For Statistics (optional)
  "dashboard": "false", 
  "prefix": "p!", // Prefix
  "arc": "", // Arc.io Source (optional)
  "youtube_key": "", // Youtube api key from https://console.cloud.google.com/apis/
  "cat_api_key": "",// https://thecatapi.com/signup
  "webhook_id": "", // Read config.json
  "webhook_url": "" // Read config.json
}

Your config.js should look like this:

module.exports = {
 "verification": "",
 "description": "", // Description
 "domain": "", // domain
 "google_analitics": "", // Google Analitics
 "token": process.env.TOKEN,
 "https":"https://", // Leave as is
 "port":"5003",

 "client_id":"", // Bot client ID
 "secret":""// Bot client secret for auth

}

Your .env file should be:

TOKEN=BOT_TOKEN

Callbacks on Auth Dev Portal: https://domain/callback https://domain/window https://domain/thanks

Please make sure you have enabled Privileged Intents on your Discord developer portal. You can find these intents under the "Bot" section, and there are two ticks you have to switch on. For more information on Gateway Intents, check out this link.

You can launch the bot with npm run start (make sure you have node and npm installed).

Important Note: Pogy has so many bugs and requires a lot of js knowledge. You will have some difficulty running the bot if you have no experience in discord.js.

Emojis

  • You can change the emojis in:
    1- assets/emojis.json
    2- data/emoji.js

Colors

  • You can change the colors in data/colors.js

License

Released under the Apache License license.

Donate

You can donate Pogy and make it stronger than ever by clicking here!

Credits

  • Peter Hanania - head developer - github
  • Wlegit - developer - github
  • Slayer - Contributor - Command Handler base github
  • Ace - Contributor - Embed builder github
  • Majo - Dashboard base + css - github
  • loom - Contributor + Translation - github website
  • Mezo - German Translation - github website

Localization README.md's

Language
French
German

pogy's People

Contributors

connordoesdev avatar loom4k avatar mezotv avatar peterhanania avatar pfevrety avatar shkourbashtawi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pogy's Issues

Reaction Roles bug?

Hi can I ask? I'm testing your bot because I would like to translate it into my language and I have a minor problem with role reactions
Everything works, but when I restart the bot, db = null but it is stored in the database
he just can't find it

console.log('test')
await Db.findOne(
{ guildid: message.guild.id, reaction: emoji.toString(), msgid: message.id },
async (err, db) => {
if (!db) return;
console.log('test2' + db)

Cannot read property 'tag' of undefined

this error show me but not every time
idk what that

(node:366) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'tag' of undefined
    at Timeout._onTimeout (/home/runner/bottext/events/ready.js:187:124)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:366) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:366) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

Invalid OAuth2 redict_url

So I have problems with the Invalid OAuth2 redict_url. I configured all Redirects & it's still coming with this error.
image
image

Here is my config for this dashboard:

module.exports = {
"verification": "",
"description": "hi",
"domain": "REMOVED FOR SECURITY REASONS",
"google_analitics": "",
"token": process.env.TOKEN,
"https":"https://",
"port":"8080",
"client_id":"REMOVED FOR SECURITY REASONS",
"secret":"REMOVED FOR SECURITY REASONS"
}


Maybe I added wrong Redirects?

Login error

TokenError
at Strategy.OAuth2Strategy.parseErrorResponse (/home/runner/Sharona/node_modules/passport-oauth2/lib/strategy.js:358:12)
at Strategy.OAuth2Strategy._createOAuthError (/home/runner/Sharona/node_modules/passport-oauth2/lib/strategy.js:405:16)
at /home/runner/Sharona/node_modules/passport-oauth2/lib/strategy.js:175:45
at /home/runner/Sharona/node_modules/oauth/lib/oauth2.js:191:18
at passBackControl (/home/runner/Sharona/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage. (/home/runner/Sharona/node_modules/oauth/lib/oauth2.js:157:7)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

TypeError: Cannot read property 'members' of undefined

TypeError: Cannot read property 'members' of undefined
at /home/runner/Bot-with-Advanced-Dashboard/dashboard/dashboard.js:640:25
at Layer.handle [as handle_request] (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/layer.js:95:5)
at next (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/route.js:137:13)
at checkAuth (/home/runner/Bot-with-Advanced-Dashboard/dashboard/dashboard.js:138:41)
at Layer.handle [as handle_request] (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/layer.js:95:5)
at next (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/layer.js:95:5)
at /home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:335:12)
at next (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:275:10)
at urlencodedParser (/home/runner/Bot-with-Advanced-Dashboard/node_modules/body-parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:317:13)
at /home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:335:12)
at next (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:275:10)
at jsonParser (/home/runner/Bot-with-Advanced-Dashboard/node_modules/body-parser/lib/types/json.js:110:7)
at Layer.handle [as handle_request] (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:317:13)
at /home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:335:12)
at next (/home/runner/Bot-with-Advanced-Dashboard/node_modules/express/lib/router/index.js:275:10)
at SessionStrategy.strategy.pass (/home/runner/Bot-with-Advanced-Dashboard/node_modules/passport/lib/middleware/authenticate.js:343:9)
at /home/runner/Bot-with-Advanced-Dashboard/node_modules/passport/lib/strategies/session.js:69:12
at pass (/home/runner/Bot-with-Advanced-Dashboard/node_modules/passport/lib/authenticator.js:337:31)
at deserialized (/home/runner/Bot-with-Advanced-Dashboard/node_modules/passport/lib/authenticator.js:349:7)
at /home/runner/Bot-with-Advanced-Dashboard/dashboard/dashboard.js:76:45

Premium issue

anyone can claim premium if they just put /redeem after the url

Embeds Issue

From the dashboard, in the embeds section; when i write a message i have several problems.

  1. I can't wrap and keep the blockquote.

  2. in the preview on the dashboard the blockquotes are displayed correctly, but once the message is posted on discord, the blockquotes have different thicknesses and an incorrect thickness.

Discord_9SlqMFKAjB
firefox_6VSrtwtqMp

as you can see in the dashboard preview the thickness of the blockquote is correct, but I cannot wrap keeping the blockquote in an empty line.

firefox_0UVBuUW0gg

I been looking for over an hour for a fix but can't find it, when I try running it with index or shard it gives me this

SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169 at parse (<anonymous>) at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169:22) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32)

How Do I Use Mutiple Shards

When i set my shards to then i get this:
PS C:\Teun\NeoSecurity> node shard.js
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

Error [SHARDING_IN_PROCESS]: Shards are still being spawned.
at ShardingManager._performOnShards (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\ShardingManager.js:258:75)
at ShardingManager.fetchClientValues (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\ShardingManager.js:245:17)
at Shard._handleMessage (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:338:22)
at ChildProcess.emit (node:events:527:28)
at emit (node:internal/child_process:938:14)
at processTicksAndRejections (node:internal/process/task_queues:84:21)

(process:21128): GLib-GIO-WARNING *: 10:01:08.243: Unexpectedly, UWP app Clipchamp.Clipchamp_2.2.12.0_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs
2022-05-07 10:01:09 [info] [Shard] Launching Shard 2
Dashboard is up and running on port 5003.
node:internal/process/promises:279
triggerUncaughtException(err, true /
fromPromise */);
^

Error [SHARDING_IN_PROCESS]: Shards are still being spawned.
at ShardingManager._performOnShards (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\ShardingManager.js:258:75)
at ShardingManager.fetchClientValues (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\ShardingManager.js:245:17)
at Shard._handleMessage (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:338:22)
at ChildProcess.emit (node:events:527:28)
at emit (node:internal/child_process:938:14)
at processTicksAndRejections (node:internal/process/task_queues:84:21)

(process:7672): GLib-GIO-WARNING **: 10:01:13.846: Unexpectedly, UWP app Clipchamp.Clipchamp_2.2.12.0_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs
2022-05-07 10:01:14 [info] [Shard] Launching Shard 3
node:events:505
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE: address already in use :::5003
at Server.setupListenHandle [as _listen2] (node:net:1372:16)
at listenInCluster (node:net:1420:12)
at Server.listen (node:net:1508:7)
at Function.listen (C:\Teun\NeoSecurity\node_modules\express\lib\application.js:618:24)
at module.exports (C:\Teun\NeoSecurity\dashboard\dashboard.js:5243:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1399:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 5003
}
C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:158
reject(new Error('SHARDING_READY_DIED', this.id));
^

Error [SHARDING_READY_DIED]: Shard 1's process exited before its Client became ready.
at Shard.onDeath (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:158:16)
at Object.onceWrapper (node:events:642:26)
at Shard.emit (node:events:527:28)
at Shard._handleExit (C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:384:10)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
Emitted 'error' event on Shard instance at:
at C:\Teun\NeoSecurity\node_modules\discord.js\src\sharding\Shard.js:392:49
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[Symbol(code)]: 'SHARDING_READY_DIED'
}

Dashboard problem

hello Peter,

I m using the pogy bot code and i have a problem, when i go to the dashboard and go to report or contact and send a message, it tell me in the console :

(node:6915) UnhandledPromiseRejectionWarning: DiscordAPIError: 404: Not Found
    at RequestHandler.execute (/home/runner/MoonLobby/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async RequestHandler.push (/home/runner/MoonLobby/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
(node:6915) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6915) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

and i hope you tell me how to fix it

Regards,
Ju52b

Website

Hey ur Website is offline i cant join the Support Discord can u send me The Link ?

pls help asap

/home/container/node_modules/mongodb/lib/cmap/connection.js:268
callback(new MongoError(document));
^

MongoError: db already exists with different case already have: [cluster0] trying to create [Cluster0]
at MessageStream.messageHandler (/home/container/node_modules/mongodb/lib/cmap/connection.js:268:20)
at MessageStream.emit (node:events:390:28)
at processIncomingData (/home/container/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream.write (/home/container/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at writeOrBuffer (node:internal/streams/writable:389:12)
at write (node:internal/streams/writable:330:10)
at MessageStream.Writable.write (node:internal/streams/writable:334:10)
at TLSSocket.ondata (node:internal/streams/readable:754:22)
at TLSSocket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:199:23) {
operationTime: Timestamp { bsontype: 'Timestamp', low: 1, high
: 1634912775 },
ok: 0,
code: 13297,
codeName: 'DatabaseDifferCase',
'$clusterTime': {
clusterTime: Timestamp { bsontype: 'Timestamp', low: 1, high
: 1634912775 },
signature: {
hash: Binary {
bsontype: 'Binary',
sub_type: 0,
position: 20,
buffer: Buffer(20) [Uint8Array] [
100, 22, 212, 157, 30, 60,
223, 133, 146, 80, 233, 103,
201, 59, 221, 22, 5, 115,
150, 95
]
},
keyId: Long { bsontype: 'Long', low: 1, high
: 1621796857 }
}
}
}
/home/container/node_modules/mongodb/lib/cmap/connection.js:268
callback(new MongoError(document));
^

MongoError: db already exists with different case already have: [cluster0] trying to create [Cluster0]
at MessageStream.messageHandler (/home/container/node_modules/mongodb/lib/cmap/connection.js:268:20)
at MessageStream.emit (node:events:390:28)
at processIncomingData (/home/container/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream.write (/home/container/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at writeOrBuffer (node:internal/streams/writable:389:12)
at write (node:internal/streams/writable:330:10)
at MessageStream.Writable.write (node:internal/streams/writable:334:10)
at TLSSocket.ondata (node:internal/streams/readable:754:22)
at TLSSocket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:199:23) {
operationTime: Timestamp { bsontype: 'Timestamp', low: 1, high
: 1634912775 },
ok: 0,
code: 13297,
codeName: 'DatabaseDifferCase',
'$clusterTime': {
clusterTime: Timestamp { bsontype: 'Timestamp', low: 1, high
: 1634912775 },
signature: {
hash: Binary {
bsontype: 'Binary',
sub_type: 0,
position: 20,
buffer: Buffer(20) [Uint8Array] [
100, 22, 212, 157, 30, 60,
223, 133, 146, 80, 233, 103,
201, 59, 221, 22, 5, 115,
150, 95
]
},
keyId: Long { bsontype: 'Long', low: 1, high
: 1621796857 }
}
}
}
/home/container/node_modules/discord.js/src/sharding/Shard.js:158
reject(new Error('SHARDING_READY_DIED', this.id));
^

Error [SHARDING_READY_DIED]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (/home/container/node_modules/discord.js/src/sharding/Shard.js:158:16)
at Object.onceWrapper (node:events:510:26)
at Shard.emit (node:events:390:28)
at Shard._handleExit (/home/container/node_modules/discord.js/src/sharding/Shard.js:384:10)
at ChildProcess.emit (node:events:390:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
Emitted 'error' event on Shard instance at:
at /home/container/node_modules/discord.js/src/sharding/Shard.js:392:49
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[Symbol(code)]: 'SHARDING_READY_DIED'

Reaction Role

Type 7: Toggle reaction role (the user will always be able to set only one role)

Premium

the premium expiration system does not work, I added a 60 second code to try, it does not expire, the time does not move I have the impression, any idea? thanks

 node shard.js util.js:160 throw new ERR_INVALID_ARG_TYPE('superCtor.prototype', ^ TypeError [ERR_INVALID_ARG_TYPE]: The "superCtor.prototype" property must be of type object. Received undefined at inherits (util.js:160:11) at Object.<anonymous> (/home/runner/Mmbot/node_modules/winston/node_modules/readable-stream/lib/_stream_duplex.js:46:20) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/home/runner/Mmbot/node_modules/winston/node_modules/readable-stream/readable.js:11:20) at Module._compile (internal/modules/cjs/loader.js:999:30) { code: 'ERR_INVALID_ARG_TYPE' }

 node shard.js
util.js:160
throw new ERR_INVALID_ARG_TYPE('superCtor.prototype',
^

TypeError [ERR_INVALID_ARG_TYPE]: The "superCtor.prototype" property must be of type object. Received undefined
at inherits (util.js:160:11)
at Object. (/home/runner/Mmbot/node_modules/winston/node_modules/readable-stream/lib/_stream_duplex.js:46:20)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/runner/Mmbot/node_modules/winston/node_modules/readable-stream/readable.js:11:20)
at Module._compile (internal/modules/cjs/loader.js:999:30) {
code: 'ERR_INVALID_ARG_TYPE'
}

Dashboard error

When Clicking On The Dashboard Url On My Own Instance the url is not good for authenticating becuase it its uri instead of url how do i fix that

SyntaxError: /home/runner/Pogy/config.json: Unexpected token / in JSON at position 44

 node shard.js
internal/modules/cjs/loader.js:1044
throw err;
^

SyntaxError: /home/runner/Pogy/config.json: Unexpected token / in JSON at position 44
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1041:22)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/runner/Pogy/shard.js:1:16)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
exit status 1

Webhook

image

Where change this massege?

Slash command

Add slash command support. This will help the bot be more spread and people will use slash commands too! Just a suggestion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.