Skip to content

Commit

Permalink
puhs to master
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Nov 17, 2024
1 parent 1af9495 commit b5f109a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions commands/owner/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import io
import re
import textwrap
import time
from contextlib import redirect_stdout
from datetime import datetime

Expand Down Expand Up @@ -125,6 +126,8 @@ def check(res: disnake.ModalInteraction):
async def test(self, ctx: disnake.ApplicationCommandInteraction):
pass



@commands.slash_command(name='anniversary', guild_ids=[923764211845312533])
@commands.is_owner()
async def anniversary(self, ctx: disnake.ApplicationCommandInteraction):
Expand Down
3 changes: 2 additions & 1 deletion commands/ticketing/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def __init__(self, bot: CustomClient):
super().__init__(bot)
self.bot = bot

@commands.slash_command(name='ticket')

@commands.slash_command(name='ticketfudge')
async def ticket(self, ctx: disnake.ApplicationCommandInteraction):
pass

Expand Down
3 changes: 2 additions & 1 deletion commands/war/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ async def war(self, ctx: disnake.ApplicationCommandInteraction):
async def war_search(
self,
ctx: disnake.ApplicationCommandInteraction,
clan: str = commands.Param(converter=convert.clan, autocomplete=autocomplete.clan),
clan: coc.Clan = commands.Param(converter=convert.clan, autocomplete=autocomplete.clan),
previous_wars: str = commands.Param(default=None, autocomplete=autocomplete.previous_wars),
):
await ctx.response.defer()

if previous_wars is not None:
war_data = await self.bot.clan_wars.find_one(
{
Expand Down

0 comments on commit b5f109a

Please sign in to comment.