Skip to content

Commit ad7269a

Browse files
authored
Merge branch 'main' into main
2 parents 3893e5e + d6aa2ab commit ad7269a

File tree

237 files changed

+20849
-8133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+20849
-8133
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ compress.py
170170

171171

172172
# Misc
173+
copilot-instructions.md
173174
backups/
174175
orchestrator/
175176
welcomer/
@@ -182,6 +183,7 @@ levelup/data/tests/
182183
levelup/data/stock/rs-assets/
183184

184185
# WIP cogs
186+
arkadia/
185187
fishing/
186188
osmosis/
187189
botarena/
@@ -192,7 +194,8 @@ whosalt/
192194
design_docs/
193195
idlegather/
194196
locallm/
195-
llm/
196197
bedrocktools/
197198
kingdoms/
198199
dungeon/
200+
llms/
201+
v2/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Check out some of my projects below!
3636
| [IdeaBoard](ideaboard/README.md) | <details><summary>Make suggestions and share ideas anonymously.</summary> Allow users to create suggestions for your server. With optional anonymity and customization.</details> |
3737
| [LevelUp](levelup/README.md) | <details><summary>Streamlined Discord Leveling System.</summary> An intuitive full-featured leveling system with prestige features, customizable backgrounds, toggleable embed/image profiles, and extensive voice tracking options.</details> | |
3838
| [Meow](meow/README.md) | <details><summary>Meow</summary> Replaces the word "now" with "meow" in someone's latest message, if word doesnt exist in the most recent 2 messages, it sends a random cat unicode emoji. Yall have a good day meow.</details> |
39+
| [Miner](meow/README.md) | <details><summary>Pickaxe in hand, fortune awaits!</summary> Mine rocks with your friends! This is a simple incremental-ish game where you mine rocks to earn resources that you use to upgrade your tools and thus, increase your mining efficiency.</details> |
3940
| [NoBot](nobot/README.md) | <details><summary>Filter certain messages from other bots.</summary> (ONLY checks messages from other bots), Add a bot to be filtered and a key phrase to check for. When that bot sends a message containing that phrase the message will be auto-deleted.</details> |
4041
| [NoNuke](nonuke/README.md) | <details><summary>A very straightforward Anti-Nuke cog.</summary> Set a cooldown and overload count(X events in X seconds), if any user with perms exceeds them, you can set an action to be taken and logged. Events include Kicks/Bans, Channel Creation/Edit/Deletion, Role Creation/Edit/Deletion. Events are not counted separately so any action taken in any order applies to the cooldown bucket.</details> |
4142
| [Pixl](pixl/README.md) | <details><summary>Guess pictures with friends and earn points.</summary> Start a game to have a mostly blank image pop up. Every few seconds a few blocks will show up and the goal is to guess what it is before the image is completed or time runs out. You are also competing with everyone else in the channel the game is running in!</details> |
@@ -45,6 +46,7 @@ Check out some of my projects below!
4546
| [Tickets](tickets/README.md) | <details><summary>Customizable Multi-Panel support ticket system.</summary> 'Tickets' is an easy to use, fully customizable multi-panel ticketing system with a variety of options and features including modals, logging, transcripts, multi-button panels and more!</details> |
4647
| [UpgradeChat](upgradechat/README.md) | <details><summary>API Integration for the Upgrade.Chat API.</summary> Allows you to add your api key and products to the bot and set a dollar to credit conversion ratio. When a user makes a purchase, they can claim it in your Discord to receive economy credits.</details> |
4748
| [VrtUtils](vrtutils/README.md) | <details><summary>Random utility commands.</summary> Small collection of commands used for my personal bot.</details> |
49+
| [Whitelabel](whitelabel/README.md) | <details><summary>Per-server bot profile customization with role-based access control.</summary> Allow server owners to customize the bot's avatar, banner, and bio on a per-server basis with optional role-based access control.</details> |
4850
| [XTools](xtools/README.md) | <details><summary>Access your xbox profile and much more.</summary> Various tools for Xbox using Microsoft's XSAPI. View your Xbox profile, friends, screenshots and game clips using simple commands and interactive menus. (You will need to register a Microsoft Azure application to use this cog. Type "[p]apiset help" after install for more info)</details> |
4951

5052

appeals/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Appeals(Commands, Listeners, commands.Cog, metaclass=CompositeMetaClass):
2525
"""Straightforward ban appeal system for Discord servers."""
2626

2727
__author__ = "[vertyco](https://github.com/vertyco/vrt-cogs)"
28-
__version__ = "0.2.1"
28+
__version__ = "0.2.5"
2929

3030
def __init__(self, bot: Red):
3131
super().__init__()

appeals/views/dynamic_menu.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ def check_pages(self, pages: t.List[t.Union[discord.Embed, str]]):
5757
return
5858
page_count = len(pages)
5959
for idx in range(len(pages)):
60-
pages[idx].set_footer(text=f"Page {idx + 1}/{page_count}")
60+
page = pages[idx]
61+
assert isinstance(page, discord.Embed), "All pages must be Embeds."
62+
footer = f"Page {idx + 1}/{page_count}"
63+
if page.footer:
64+
footer = f"{page.footer.text}\n{footer}"
65+
pages[idx].set_footer(text=footer)
6166
else:
6267
if not all(isinstance(page, str) for page in pages):
6368
raise TypeError("All pages must be Embeds or strings.")

appeals/views/submission.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ async def submit_appeal(self, interaction: discord.Interaction, button: discord.
153153
AppealGuild.alert_roles,
154154
AppealGuild.alert_channel,
155155
AppealGuild.discussion_threads,
156+
AppealGuild.vote_emojis,
156157
)
157158
.where(AppealGuild.id == interaction.guild.id)
158159
.first()
@@ -193,6 +194,7 @@ async def submit_appeal(self, interaction: discord.Interaction, button: discord.
193194
user_id=interaction.user.id,
194195
answers=final_answers,
195196
)
197+
await submission.save()
196198

197199
embed = submission.embed(interaction.user)
198200

@@ -214,7 +216,7 @@ async def submit_appeal(self, interaction: discord.Interaction, button: discord.
214216
)
215217
submission.discussion_thread = thread.id
216218

217-
await submission.save()
219+
await submission.save([AppealSubmission.message_id, AppealSubmission.discussion_thread])
218220

219221
if appealguild["vote_emojis"] and pending_channel.permissions_for(interaction.guild.me).add_reactions:
220222
start_adding_reactions(message, ["✅", "❌"])

0 commit comments

Comments
 (0)