Code Monkey home page Code Monkey logo

curse-updates's Introduction

curse-updates's People

Contributors

davoleo avatar

Stargazers

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

Watchers

 avatar  avatar

curse-updates's Issues

Unexpected command behaviour

Commands may have unexpected behaviour when you divide the prefix and the command name
Examples:
Bot prefix: §§
§§ schedule show
§§...schedule show
§§*schedule show
§§daksdjaskdschedule show

Possible Solution: Check command strings as a whole compound of prefix + command name

Error 503 on self-hosted bot

General Information

Not sure if this is on your end or my end, or if you can help fix this issue, but I thought it's worth a shot! I'm self-hosting the bot, and after a lot of trial and error, I've managed to get it installed and working on my discord server. That is, apart from a persistent async execution error 503 when I try to interact with CurseForge. I've tried it with several project IDs (see screenshots below) and

Describe the bug:
"There was an error during the async execution of the command cf;latest, Error: 503" ("cf;" is the alias on our server for the self-hosted bot, exactly the same as ||, set using the command "||changeprefix cf;")

To Reproduce:

  1. Self-host the bot, eventually, following the instructions in the readme (I am happy to write these into a much more detailed tutorial if you like, because this was not an easy process to figure out!)
  2. Run any command that interfaces with CurseForge, such as ||latest or ||schedule.
  3. Bot returns the error.

Expected behavior:
The command runs as expected.

Logs (if available)

https://gist.github.com/Lokilotus/88275c71492572bd8409ec159db645df


Additional Information

Screenshots (if available):
image
image
image
image
image

Bot seems to be down

Hello there! I tried adding the official bot to a test server to test its features and it seems to be offline. Is this project discontinued?

Original bot is down / doesn't detect updates

The curse bot isn't detecting new updates of modpacks. I am not sure if it just takes a while or if it is something else.
also in order for the bot to post in a channel does it need permission?

Schedulle commands don't work

General Information

When i try to add a project, or to set the channel or the announcement message it doesn't work

Describe the bug:

When you try to use any of the commands of the category "Schedule" they don't work, the bot doesn't say anything (and the bot is working, it responds to the ||ping comand)

To Reproduce:

  1. Invite the bot to your server
  2. Try any commands of the "General" category (They'll work) (The default prefix is ||)
  3. Then try any commands of the "Schedule" category (They will not work)

Expected behavior:

I expected that the commands worked so i can set my project to be in the scheduled check so people can saw the mod updates

Logs (if available)

Please Use gist, paste.ee, pastebin or some other log sharing service


Additional Information

Screenshots (if available):

image

Cannot Run On Heroku

I am able to deploy the bot via Heroku however whenever I try to run a command like ||help the bot ends and gives this error. It's as if it cannot use data.db...... I even tried removing it from .gitignore

/app/build/data/dataHandler.js:107
return serverCollection.findOne({ 'serverId': serverId });
^

TypeError: Cannot read property 'findOne' of null
at Object.getServerConfig (/app/build/data/dataHandler.js:107:29)
at Client. (/app/build/main.js:82:40)
at Client.emit (events.js:400:28)
at MessageCreateAction.handle (/app/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/app/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocket.onMessage (/app/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (events.js:400:28)

How to run...?

General Information

Describe the bug:

To Reproduce:

  1. First Step
  2. First Step
  3. First Step

Expected behavior:

Logs (if available)



Additional Information

Screenshots (if available):

Scheduled check optimization

As of right now the same projects are queried multiple times if they are included in multiple different servers:
This behaviour should change as a global project version cache is preferable to avoid overloading the API

Furthermore I'm going to change the cron job to run once every 60 minutes instead of 15 mins

Schedule Editing Command Permissions

Not anyone in the server should be able to edit the bot schedule
Fix commands in order to be only executable by people who have administration permissions

Issue tracker?

It would be amazing if you could add support for issue tracking for like mods etc!

Cannot add Project to schedule

General Information

Describe the bug:

I get an error when running the schedule add command

To Reproduce:

  1. install the bot
  2. run the command
  3. error

Expected behavior:

Working?
Logs (if available)

Please Use gist, paste.ee, pastebin or some other log sharing service


Additional Information

Screenshots (if available):

image

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.