-
Notifications
You must be signed in to change notification settings - Fork 11
Events
Underneath the data/ folder lies an events.json file that implement the Happy Hour Event and the Night Vendor Event. Under events/, lies two their event implementation.
If you have a text channel called #event, you can receive the following event notifications.

I've implemented a Happy Hour Event which is supposed to cut down the cooldown by half (by default) and also multiply the shiny pokemon rate by an x multiplier. In the events.json file lies its properties:
is_event_enabled - if you want the event enabled, set this to true
event_start_hour - the time in a 24-hour clock to start the event. By default it starts at 20, which is 8pm EST
event_end_hour - the time in a 24-hour clock to end the event. By default it ends at 21, which is 9pm EST
catch_cooldown_modifier - the number to divide the cooldown by. By default it's 2, so it will half the cooldown you set in your config.json
shiny_rate_modifier - The multiplier to multiply the shiny catch rate by. By default it's 3, so it'll multiply the odds by 3


The Night Vendor event is an event where a merchant comes to offer you a trade for one of their pokemon for any random pokemon. You're also able to re-roll the trade if you don't like what the Night Vendor has to offer. Ideally this Night Vendor is suppose to offer you a higher rate to get a shiny pokemon (by default, a 10% chance with the shiny_roll_rate_modifier set to 500), but that's up to you when you set it up for your server. Refer to the below for commands on how to communicate with the night vendor, or use the !help menu.
!nv- Displays what the night vendor wants to trade
!nvtrade - Re-rolls what the night vendor has to offer
!nvroll - Confirms the night vendor trade
is_event_enabled - if you want the event enabled, set this to true
event_start_hour - the time in a 24-hour clock to start the event. By default it starts at 21, which is 9pm local time
event_end_hour - the time in a 24-hour clock to end the event. By default it ends at 3, which is 4am EST
shiny_roll_rate_modifier - The multiplier to multiply the shiny catch rate by. By default, it's 500.
reroll_count - the number of times that a trainer is allowed to re-roll what the vendor has to trade. By default, it's 5.
