Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cogs/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,11 @@ async def kill(self, ctx: ApplicationContext, target: discord.User = None):
currency.remove(target.id, rw)
localembed = discord.Embed(title="Success!", description=f"You shot {target.display_name}, and quickly swiped away their wallet! From this you find **{rw} coins**! Too bad they didnt put their savings in their bank.", color=discord.Color.random())
await ctx.respond(embed=localembed)

# User Commands
@commands.user_command(name="Show Balance")
async def _balance(self, ctx: ApplicationContext, user: discord.User):
await self.balance(ctx, user)

# Initialization
def setup(bot):
Expand Down
6 changes: 6 additions & 0 deletions cogs/levelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __init__(self, bot):
)
@option(name="user", description="Who's rank do you want to view?", type=discord.User, default=None)
async def rank(self, ctx: ApplicationContext, user: discord.User=None):
"""Shows your rank or another user's rank."""
if user is None: user = ctx.author
try:
xpreq = int()
Expand Down Expand Up @@ -91,5 +92,10 @@ async def leaderboard_levels(self, ctx: ApplicationContext):
localembed = discord.Embed(title="Global levelling leaderboard", description=parsed_output, color=color)
await ctx.respond(embed=localembed)

# User Commands
@commands.user_command(name="View Rank")
async def _view_rank(self, ctx: ApplicationContext, user: discord.User):
await self.rank(ctx, user)

def setup(bot):
bot.add_cog(Levelling(bot))
12 changes: 2 additions & 10 deletions cogs/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,8 @@ async def show_warnings(self, ctx: ApplicationContext, user: discord.Member = No
)
await ctx.respond(embed=localembed)

# User App Commands
@commands.user_command(
name="Clear All Warnings"
)
async def _clear_all_warnings(self, ctx: ApplicationContext, user: discord.Member):
await self.clear_all_warning(ctx, user)

@commands.user_command(
name="Show Warnings"
)
# User App Commands
@commands.user_command(name="Show Warnings")
async def _show_warnings(self, ctx: ApplicationContext, user: discord.Member):
await self.show_warnings(ctx, user)

Expand Down
9 changes: 9 additions & 0 deletions cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,15 @@ async def _add(self, ctx: ApplicationContext, command_name: str, stylized_name:
localembed.add_field(name="Usable By", value=usable_by)
localembed.add_field(name="Cooldown", value=cooldown)
await ctx.respond(embed=localembed)

# User Commands
@commands.user_command(name="Show User Information")
async def _whoami(self, ctx: ApplicationContext, user: discord.User):
await self.whoami(ctx, user)

@commands.user_command(name="View isobot Profile")
async def _profile(self, ctx: ApplicationContext, user: discord.User):
await self.profile(ctx, user)

# Cog Initialization
def setup(bot):
Expand Down
6 changes: 5 additions & 1 deletion config/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{}
{
"738290097170153472": {
"levelup_messages": true
}
}