Cog-Creators / Cog-Creators/Red-DiscordBot

[Bank] Add event dispatch on account events

Open
#5,141 9 comments 0 reactions 0 assignees View on GitHub
Category: Core - API - Bank Status: Needs Discussion Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### What component of Red (cog, command, API) would you like to see improvements on?

Bank's API

### Describe the enhancement you're suggesting.

It would be nice if cogs can take advantage of listeners for the Bank cog.
Cogs could know when an user's account get changed, pruned, spend money, and so on...

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading the Bank API and the existing cog listener patterns. Define which account events need dispatch, including account changes, pruning, and spending, then verify that cogs can receive them consistently. Done means the Bank API dispatches the agreed events for those account operations and listener behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.