Remove post-reaction verification refetch
Was doing an extra fetch_message per reaction to confirm the reaction stuck. Turned out to be unrelated to the earlier missing-reactions bug (that was the scan-state resume issue), so drop it to save the API calls.
This commit is contained in:
@@ -13,7 +13,6 @@ class Config:
|
||||
db_path: str
|
||||
log_level: str
|
||||
manual_guild_ids: List[int] = field(default_factory=list)
|
||||
verify_reactions: bool = True
|
||||
|
||||
|
||||
def load_config(path: str = "config.json") -> Config:
|
||||
@@ -38,5 +37,4 @@ def load_config(path: str = "config.json") -> Config:
|
||||
db_path=data.get("db_path", "reactions.sqlite3"),
|
||||
log_level=data.get("log_level", "INFO"),
|
||||
manual_guild_ids=[int(g) for g in data.get("manual_guild_ids", [])],
|
||||
verify_reactions=bool(data.get("verify_reactions", True)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user