-
-
Notifications
You must be signed in to change notification settings - Fork 6
New features #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
New features #75
Changes from 35 commits
9697497
90b88c4
1f87d26
e21eaff
53d74dd
6e81179
ee5d091
73858ee
d6a8e9b
a645d55
88aa461
5ac8c5b
e57e4f9
b80b9a6
badf440
e5ec886
bce485f
c4d2570
de43a0b
b403b58
3add744
ae17a46
5a5c650
046245c
81e309e
9b0fd1a
a1f4cfe
0baffd4
5ad9c2d
6922fa0
e92d816
1920482
5d50fc2
6f2b117
2e5b8c8
75ae441
be5a417
0bf2b35
6e76182
1bd8dda
12a942e
990dede
7ecfb3d
181ba5a
42bb9a4
331021c
e604c52
4da47b3
de5fa24
b2df09c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,259 @@ | ||||||||||||||||
| import discord | ||||||||||||||||
| from discord.ext import commands | ||||||||||||||||
| import functions as func | ||||||||||||||||
| import iufi | ||||||||||||||||
| from iufi import CardPool | ||||||||||||||||
| from views import ConfirmView | ||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
| def is_admin_account(user_id) -> bool: | ||||||||||||||||
| return True | ||||||||||||||||
| if user_id in func.settings.ADMIN_IDS: | ||||||||||||||||
| return True | ||||||||||||||||
| return False | ||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
|
||||||||||||||||
| return True | |
| if user_id in func.settings.ADMIN_IDS: | |
| return True | |
| return False | |
| if user_id in func.settings.ADMIN_IDS: | |
| return True | |
| return False |
Outdated
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the warning message: "Conver" should be "Convert".
| embed.description = f"**WARNING: This action cannot be undone!**\n\nThis will:\n- Conver all {target_user.display_name}'s cards \n- Delete their entire profile and progress\n- Remove all inventory items and collections\n\nAre you sure you want to continue?" | |
| embed.description = f"**WARNING: This action cannot be undone!**\n\nThis will:\n- Convert all {target_user.display_name}'s cards \n- Delete their entire profile and progress\n- Remove all inventory items and collections\n\nAre you sure you want to continue?" |
Outdated
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable candies is not used.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,8 @@ | ||||||
| import discord, iufi, time, asyncio | ||||||
| import functions as func | ||||||
| import random | ||||||
| import io, os | ||||||
|
||||||
| import io, os | |
| import os |
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import of 'Image' is not used.
Import of 'ImageFilter' is not used.
| from PIL import Image, ImageFilter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Module 'iufi' is imported with both 'import' and 'import from'.