[V3 Economy] Expand payday output #1386

Merged
palmtree5 merged 19 commits from V3/enhancement/economy_payday_expansion into V3/develop 2018-03-20 23:22:11 +01:00
palmtree5 commented 2018-03-04 02:42:42 +01:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

See #1371 for the original suggestion. This implements display of the user's current balance and (if applicable) leaderboard position when getting a payday.

### Type - [ ] Bugfix - [x] Enhancement - [ ] New feature ### Description of the changes See #1371 for the original suggestion. This implements display of the user's current balance and (if applicable) leaderboard position when getting a payday.
tekulvw (Migrated from github.com) reviewed 2018-03-04 05:55:26 +01:00
palmtree5 (Migrated from github.com) reviewed 2018-03-05 00:10:43 +01:00
@ -246,3 +248,4 @@
else:
dtime = self.display_time(next_payday - cur_time)
await ctx.send(
palmtree5 (Migrated from github.com) commented 2018-03-05 00:10:42 +01:00

whoops, I'll fix that now

whoops, I'll fix that now
Stradinius commented 2018-03-05 17:56:22 +01:00 (Migrated from github.com)

Thanks for committing this, palmtree!

Thanks for committing this, palmtree!
tekulvw (Migrated from github.com) reviewed 2018-03-12 23:58:38 +01:00
palmtree5 (Migrated from github.com) reviewed 2018-03-16 23:00:36 +01:00
@ -246,3 +248,4 @@
else:
dtime = self.display_time(next_payday - cur_time)
await ctx.send(
palmtree5 (Migrated from github.com) commented 2018-03-16 23:00:36 +01:00

good catch lol

good catch lol
palmtree5 commented 2018-03-17 01:04:49 +01:00 (Migrated from github.com)

So the leaderboard changes from #1435 have been implemented, but with some stuff written for this PR.

We now have two functions relating to a bank leaderboard

get_leaderboard which gets the leaderboard
and
get_leaderboard_position which gets the user's position on the leaderboard

So the leaderboard changes from #1435 have been implemented, but with some stuff written for this PR. We now have two functions relating to a bank leaderboard `get_leaderboard` which gets the leaderboard and `get_leaderboard_position` which gets the user's position on the leaderboard
palmtree5 commented 2018-03-17 01:47:00 +01:00 (Migrated from github.com)

This is tested and working fine as well

This is tested and working fine as well
Stradinius commented 2018-03-20 00:12:20 +01:00 (Migrated from github.com)

Not sure if this is already a topic covered in V3 or not, but when a user bets with [p] slot, and wins, it does not take the initial bet before paying out. So a 4* win actually becomes a 5* win. Since we're already covering the economy cog here, I figured this would be the best place to note that.

Not sure if this is already a topic covered in V3 or not, but when a user bets with [p] slot, and wins, it does not take the initial bet before paying out. So a 4* win actually becomes a 5* win. Since we're already covering the economy cog here, I figured this would be the best place to note that.
tekulvw commented 2018-03-20 23:20:59 +01:00 (Migrated from github.com)

We've seen that discussion in #876 and decided to keep the existing functionality.

We've seen that discussion in #876 and decided to keep the existing functionality.
tekulvw (Migrated from github.com) approved these changes 2018-03-20 23:21:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!1386
No description provided.