payload-bot / payload-neo

The largest TF2-based Discord bot serving over 50,000 users daily.
https://payload.tf
MIT License
15 stars 5 forks source link

prefix changing from dashboard doesn't reflect on bot immediately #93

Closed c43721 closed 3 years ago

c43721 commented 3 years ago

Describe the bug prefix from dashboard doesn't change instantly

To Reproduce Steps to reproduce the behavior:

  1. go to dashboard
  2. change prefix
  3. try new prefix

Expected behavior prefix to be changed

Additional context cache issue when getting the prefix from database. Flaw in design currently.

fixing it requires the cache to be bypassed. probably not a bad thinng anyways as the cache kinda... sucks.