arktn / discord-giveaway-bot

⚠️ Outdated ⚠️
MIT License
195 stars 129 forks source link

V2.2.0? #71

Closed JacProsser closed 3 years ago

JacProsser commented 3 years ago

change majority of things.

  1. new command handler
  2. updated setup.bat
  3. ability to add aliases
  4. changed config around
  5. update the README.md

With this new command handler it will be easier to update the repo and it will be easier to manage.

arktn commented 3 years ago

I updated the version numbers afterwards and put your name first in the README.md, the version is currently a pre-release we'll see if anyone finds some new bugs and after everything's clear I'll fully release it! Again big thanks to you!

JacProsser commented 3 years ago

I updated the version numbers afterwards and put your name first in the README.md, the version is currently a pre-release we'll see if anyone finds some new bugs and after everything's clear I'll fully release it! Again big thanks to you!

Yes that's fine and it has been tested many times so as of right now there shouldn't be any bugs but you never know someone might find something. Also this is just another reason I've wanted full access as when you're not around i'm able to push updates for issues etc. however, i do get that you're not a person to easily give this away

arktn commented 3 years ago

I updated the version numbers afterwards and put your name first in the README.md, the version is currently a pre-release we'll see if anyone finds some new bugs and after everything's clear I'll fully release it! Again big thanks to you!

Yes that's fine and it has been tested many times so as of right now there shouldn't be any bugs but you never know someone might find something. Also this is just another reason I've wanted full access as when you're not around i'm able to push updates for issues etc. however, i do get that you're not a person to easily give this away

I invited you to the repo, you seem to have great potential and I don't want to kill it just because I'm afraid of something that will probably never happen.

arktn commented 3 years ago

Ohh and @JacProsser be sure to always squash pr's so it's easier for me to check them, you know just to be sure everything's fine! ;D

JacProsser commented 3 years ago

I updated the version numbers afterwards and put your name first in the README.md, the version is currently a pre-release we'll see if anyone finds some new bugs and after everything's clear I'll fully release it! Again big thanks to you!

Yes that's fine and it has been tested many times so as of right now there shouldn't be any bugs but you never know someone might find something. Also this is just another reason I've wanted full access as when you're not around i'm able to push updates for issues etc. however, i do get that you're not a person to easily give this away

I invited you to the repo, you seem to have great potential and I don't want to kill it just because I'm afraid of something that will probably never happen.

Yes whatever you are thinking would never happen. I just one day found this repo and decided to help out as i've used this package before. And i will make sure to do that next time! Also when the new buttons are stable i'll maybe look at adding them in somehow

arktn commented 3 years ago

I updated the version numbers afterwards and put your name first in the README.md, the version is currently a pre-release we'll see if anyone finds some new bugs and after everything's clear I'll fully release it! Again big thanks to you!

Yes that's fine and it has been tested many times so as of right now there shouldn't be any bugs but you never know someone might find something. Also this is just another reason I've wanted full access as when you're not around i'm able to push updates for issues etc. however, i do get that you're not a person to easily give this away

I invited you to the repo, you seem to have great potential and I don't want to kill it just because I'm afraid of something that will probably never happen.

Yes whatever you are thinking would never happen. I just one day found this repo and decided to help out as i've used this package before. And i will make sure to do that next time! Also when the new buttons are stable i'll maybe look at adding them in somehow

Sounds great! I'm excited to see what the future will bring for this repository!

JacProsser commented 3 years ago

@ghaku a question is would you like the title of the readme in the center? Example: Screenshot_77

JacProsser commented 3 years ago

also @ghaku you should setup discussions on this repo so we can use that to talk about features or something

arktn commented 3 years ago

@JacProsser the title thing would look great. For discussions, I'm on my phone right now I'll enable them later on!

JacProsser commented 3 years ago

@ghaku great! I've also already got a new feature:

 "Giveaway_Options": {
       "showMention": true,
       "hostedBy": true
   }

If "showMention: true" the bot will display the giveaway as:

 "Giveaway_Options": {
       "showMention": false,
       "hostedBy": true
   }

However, if "showMention: false" the bot will send @everyone then will delete it a second later leaving it like this:





NOTE: showMention will default to true.
JacProsser commented 3 years ago

Forgot to mention that this role/mention will be configurable in the config as "giveawayRoleID": "roleID" defaults "giveawayRoleID": "" which will ping @everyone

JacProsser commented 3 years ago

What config.json will look like with values:

{
    "Bot_Info": {
        "token": "MTdqrd0vGDV1dcF0QPjom6OB.NQxUhj.I4JjFHIympR3mVF3UiUbbD5VVbi",
        "prefix": "!"
    },

   "Embed_Defaults": {
       "EmbedColour": "RANDOM"
   },

   "Giveaway_Options": {
       "giveawayRoleID": "846135298185756692",
       "showMention": true,
       "hostedBy": true
   }

} 


What config.json will look like without values:

{
    "Bot_Info": {
        "token": "MTdqrd0vGDV1dcF0QPjom6OB.NQxUhj.I4JjFHIympR3mVF3UiUbbD5VVbi",
        "prefix": "!"
    },

   "Embed_Defaults": {
       "EmbedColour": "RANDOM"
   },

   "Giveaway_Options": {
       "giveawayRoleID": "",
       "showMention": true,
       "hostedBy": true
   }

} 

PS: token is a fake token.