Coder Social home page Coder Social logo

acktarofficial / pterocontrol Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 9.0 32 KB

PteroControl is a bot designed to make administrating servers running on Pterodactyl more convenient by allowing admins to quickly run certain tasks directly from Discord

JavaScript 100.00%
discord discord-bot discord-js pterodactyl pterodactyl-panel-api

pterocontrol's Introduction

๐Ÿ‘‹ I'm Acktar!

I'm an all-round javascript and php backend developer located in Mauritius๐Ÿ‡ฒ๐Ÿ‡บ!

Check out my website https://acktardevs.com for my recent work.



Here is some simple info about me!

  • ๐Ÿ‘‘ Executive Director at Hellnodes Hosting

  • ๐Ÿ‘จโ€๐Ÿ’ป Learning Software Engineering at Mauritius Institute Of Training and Development (MITD) forthebadge

  • ๐Ÿ’ญ Reach me on discord! Acktar#6724

  • ๐ŸŒ Check my Website by clicking here

  • ๐Ÿ’ป Ex Student of [Forest Side SSS](FSB MRU)



My github stats

pterocontrol's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pterocontrol's Issues

Bot not working?

Hey i tryed to setting up the bot, but when รญ try to use the help command, this error appear
`/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450
.flat(2)
^

TypeError: fields.flat is not a function
at Function.normalizeFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450:8)
at MessageEmbed.addFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:266:42)
at MessageEmbed.addField (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:257:17)
at Object.exports.run (/root/PteroControl-main/commands/help.js:8:6)
at module.exports (/root/PteroControl-main/events/message.js:12:7)
at Client.emit (events.js:198:13)
at MessageCreateAction.handle (/root/PteroControl-main/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
`

Bot crashing when running ~myservers

Hello, I'd love to use this however after registering and confirming that the tables are updated in the database, when I run ~myservers the bot crashes and I get the following output:

I've tried node 12.x 14.x and 15.x with no luck. The API key is correct, I've also tried 2 others.
=+=+=+=+=+=+=+=+=+=+=+=
Name: PteroControl
Version: 1.0.0
Loaded: true
Developer: AcktarOfficial#6930
Website: acktarofficial.com
=+=+=+=+=+=+=+=+=+=+=+=
/home/elevated/pterocontrol/PteroControl-main/node_modules/nodeactyl/client/index.js:48
callback(false, 'API Key is not valid! (Application)');
^

TypeError: callback is not a function
at /home/elevated/pterocontrol/PteroControl-main/node_modules/nodeactyl/client/index.js:48:4
at processTicksAndRejections (node:internal/process/task_queues:94:5)

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.