-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
4,736 additions
and
1,333 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
all_awards = ["first_task", "set_banner", "logo_approved", "ten_tasks", "thirty_tasks", "twohundred_customers", "sevenhundred_customers", "fifteenhundred_customers"] | ||
|
||
awards = { | ||
"set_banner": {"name": "Marketing Expert", "emoji": "<:MarketingExpert:1328604611811999764>", "grey_emoji": "<:MarketingExpertA:1328604929442447381>", "description": "Set your banner for the first time"}, | ||
"logo_approved": {"name": "Graphic Designer", "emoji": "<:GraphicDesigner:1328575306809872446>", "grey_emoji": "<:GraphicDesignerA:1328576242856755304>", "description": "Get a logo approved for the first time"}, | ||
"worker": {"name": "Teamwork", "emoji": "<:Teamwork:1328580116682506320>", "grey_emoji": "<:TeamworkA:1328580963390717974>", "description": "Hire your first worker"}, | ||
"broken_pole": {"name": "Sad Fisherman", "emoji": "<:SadFisherman:1328584022258876487>", "grey_emoji": "<:SadFishermanA:1328584079452536832>", "description": "Break your first fishing pole"}, | ||
"first_task": {"name": "Hardworker", "emoji": "<:Hardworker:1328590454362607626>", "grey_emoji": "<:HardworkerA:1328591604675641377>", "description": "Complete your first weekly task"}, | ||
"ten_tasks": {"name": "Busy Entrepreneur", "emoji": "<:BusyEntrepreneur:1328586064729866310>", "grey_emoji": "<:BusyEntrepreneurA:1328586447141343273>", "description": "Complete 10 weekly tasks"}, | ||
"thirty_tasks": {"name": "Boss & CEO", "emoji": "<:BossAndCEO:1328588381755805807>", "grey_emoji": "<:BossAndCEOa:1328588893875863637>", "description": "Complete 30 weekly tasks"}, | ||
"fivehundred_customers": {"name": "Poppin' Business", "emoji": "<:PoppinBusiness:1328605926672039968>", "grey_emoji": "<:PoppinBusinessA:1328606234416250880>", "description": "Reach 500 customers"}, | ||
"fifteenhundred_customers": {"name": "Hotspot", "emoji": "<:Hotspot:1328608005423366146>", "grey_emoji": "<:HotspotA:1328608591783002173>", "description": "Reach 1500 customers"}, | ||
"threethousand_customers": {"name": "The Talk of the Town", "emoji": "<:TalkOfTheTown:1328610599911030836>", "grey_emoji": "<:TalkOfTheTownA:1328610919722385530>", "description": "Reach 3000 customers"}, | ||
"fivethousand_customers": {"name": "Michelin Restaurant", "emoji": "<:MichelinRestaurant:1328612407941136414>", "grey_emoji": "<:MichelinRestaurantA:1328612738490175529>", "description": "Reach 5000 customers"}, | ||
"fivehundred_bbux": {"name": "Pretty Penny", "emoji": "<:PrettyPenny:1328597160203391058>", "grey_emoji": "<:PrettyPennyA:1328597436825997332>", "description": "Have a balance of 500 BB"}, | ||
"thousand_bbux": {"name": "Moneybags", "emoji": "<:Moneybags:1328599838593519677>", "grey_emoji": "<:MoneybagsA:1328600139966971924>", "description": "Have a balance of 1000 BB"}, | ||
"twothousand_bbux": {"name": "Stacks on Stacks", "emoji": "<:StacksOnStacks:1328601339088998401>", "grey_emoji": "<:StacksOnStacksA:1328601896767717457>", "description": "Have a balance of 2000 BB"} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
|
||
async def button_callback(interaction): | ||
await interaction.response.defer() | ||
|
||
|
||
|
||
button = Button(label="←", custom_id="prev_page", style=discord.ButtonStyle.primary) | ||
|
||
|
||
d_btn.callback = lambda interaction: t_button_callback(interaction, "d", b) | ||
|
||
view = View() | ||
view.add_item(button) | ||
|
||
# no args | ||
button.callback = button_callback | ||
|
||
|
||
if msg: | ||
await food_msg.delete() | ||
try: | ||
await interaction.message.delete() | ||
except: | ||
pass |
Oops, something went wrong.