Git Product home page Git Product logo

dispixel's Introduction

Christopher Nethercott

I'm currently studying Mathematics at the University of York.

dispixel's People

Contributors

brunohpaiva avatar chriscn avatar conorthedev avatar dance-dog avatar dependabot-support avatar greenkeeper[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

swajhaki

dispixel's Issues

-hpstats

A command that gets the amount of players online / per gamemode etc that are currently online.

Migrate from Heroku to internal infrastructure

Currently the platform is hosted on Heroku, which is great but has a monthly limit. I run a homelab - that has enough computing power to run many thousand instances of this bot.

I'll probably migrate to a generic Dockerfile that you can deploy with environmental variables.

-hpverify

Using the Hypixel API as you can now add your Discord we could run a match

Enchancement: message cooldown

Some of the commands are api intensive requiring one or multiple api requests for each command. Since we are limitied to 120/minute then we should apply a cooldown to each command. This would be relatively easy I believe to do with the command manage

v2

Decided to rewrite this project because I was bored, and these are the things that I can think of

Add restrictions on to whom can use the ban command.

I believe you should only be able to use it if you have the Manage Messages Permission or if you are in a DM.

The DM should be restricted once every 5 minutes and perhaps even cached. So we may have to build a caching mechanism and even cache requests for 60 seconds. This would be required when checking the guild unless we can get our limit increased. I believe we have got 360 requests a minute but for large guilds that could be our minute used up. Just planning for the future.

Change NameHistory

Many things:

  • Run the loop backwards so you get the most recent name changes.
  • Still get the first name registered
  • Display all names, in the field.

-guild returning error.

0|Dispixel  | TypeError: (intermediate value).setTitle(...).setURL(...).color is not a function
0|Dispixel  |     at hypixeljs.getPlayer.byUuid (/home/pi/Dispixel/commands/guild.js:16:8)
0|Dispixel  |     at IncomingMessage.res.once (/home/pi/Dispixel/node_modules/hypixeljs/lib/api.js:97:5)
0|Dispixel  |     at Object.onceWrapper (events.js:313:30)
0|Dispixel  |     at emitNone (events.js:111:20)
0|Dispixel  |     at IncomingMessage.emit (events.js:208:7)
0|Dispixel  |     at endReadableNT (_stream_readable.js:1064:12)
0|Dispixel  |     at args.(anonymous function) (/usr/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29)
0|Dispixel  |     at _combinedTickCallback (internal/process/next_tick.js:139:11)
0|Dispixel  |     at process._tickCallback (internal/process/next_tick.js:181:9)
0|Dispixel  | TypeError: Cannot read property 'displayname' of null
0|Dispixel  |     at hypixeljs.getPlayer.byUuid (/home/pi/Dispixel/commands/guild.js:11:28)
0|Dispixel  |     at handleError (/home/pi/Dispixel/node_modules/hypixeljs/lib/api.js:9:38)
0|Dispixel  |     at IncomingMessage.res.once (/home/pi/Dispixel/node_modules/hypixeljs/lib/api.js:99:5)
0|Dispixel  |     at Object.onceWrapper (events.js:313:30)
0|Dispixel  |     at emitNone (events.js:111:20)
0|Dispixel  |     at IncomingMessage.emit (events.js:208:7)
0|Dispixel  |     at endReadableNT (_stream_readable.js:1064:12)
0|Dispixel  |     at args.(anonymous function) (/usr/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29)
0|Dispixel  |     at _combinedTickCallback (internal/process/next_tick.js:139:11)
0|Dispixel  |     at process._tickCallback (internal/process/next_tick.js:181:9)

-uuid

The uuid command.
Gets the player's uuid from their name.

Improved Command Manager

Feature

The current command manager works well however it could be improved.

Ideal solution or implementation

Alternative solutions or implementations

No response

Other context

No response

Friends

Would get the friends of a user

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.