Skip to content
Closed
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
10 changes: 7 additions & 3 deletions cogs/counting.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,9 @@ async def highscore_table(self, ctx: commands.Context):
embed.description = "\n".join(lines)
await ctx.send(embed=embed)

@commands.command(name="mcl", aliases=["tc"])
@commands.command(
name="mcl", aliases=["tc"], help="Show the top 10 users by valid counts"
)
async def most_count_leaderboard(self, ctx):
async with aiosqlite.connect(DB_PATH, timeout=30.0) as db, db.execute(
"""
Expand All @@ -967,7 +969,7 @@ async def most_count_leaderboard(self, ctx):
embed.description = description
await ctx.send(embed=embed)

@commands.command(name="mrl")
@commands.command(name="mrl", help="Show the top 10 users by ruined counts")
async def most_ruined_leaderboard(self, ctx):
async with aiosqlite.connect(DB_PATH, timeout=30.0) as db, db.execute(
"""
Expand All @@ -994,7 +996,9 @@ async def most_ruined_leaderboard(self, ctx):
embed.description = description
await ctx.send(embed=embed)

@commands.command(name="scs")
@commands.command(
name="scs", help="Show this server's current count and all-time high score"
)
async def server_count_stats(self, ctx):
async with aiosqlite.connect(DB_PATH, timeout=30.0) as db, db.execute(
"SELECT current_count, high_score FROM counting_config WHERE guild_id = ?",
Expand Down
4 changes: 2 additions & 2 deletions cogs/tod.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ async def send_tod_message(self, ctx, type_choice: str):
async def tod_command(self, ctx: commands.Context):
await self.send_tod_message(ctx, "random")

@commands.command(name="truth")
@commands.command(name="truth", help="Get a random Truth question")
async def truth_command(self, ctx: commands.Context):
await self.send_tod_message(ctx, "truth")

@commands.command(name="dare")
@commands.command(name="dare", help="Get a random Dare challenge")
async def dare_command(self, ctx: commands.Context):
await self.send_tod_message(ctx, "dare")

Expand Down
13 changes: 10 additions & 3 deletions cogs/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def after_playing(error):
# LOGIN TTS NAME
# ----------------------------

@commands.hybrid_command(name="logintts")
@commands.hybrid_command(
name="logintts",
description="Set the name TTS announces before your messages",
)
async def logintts(self, ctx: Context, name: str):
if len(name) > 32:
return await ctx.send("Name too long. Max 32 characters.")
Expand All @@ -145,7 +148,9 @@ async def logintts(self, ctx: Context, name: str):
# FORCE LEAVE VC
# ----------------------------

@commands.hybrid_command(name="leavevc")
@commands.hybrid_command(
name="leavevc", description="Force the bot to leave its current voice channel"
)
async def leavevc(self, ctx: Context):
vc = ctx.voice_client
if isinstance(vc, discord.VoiceClient) and vc.is_connected():
Expand All @@ -158,7 +163,9 @@ async def leavevc(self, ctx: Context):
# TTS COMMAND
# ----------------------------

@commands.hybrid_command(name="tts")
@commands.hybrid_command(
name="tts", description="Speak your message aloud in your voice channel"
)
@commands.cooldown(1, 2, commands.BucketType.user)
async def tts(self, ctx: Context, *, text: str):

Expand Down
3 changes: 3 additions & 0 deletions docs/FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ Store and retrieve custom text snippets.
- **Birthdays**: `?setbirthday <DD/MM>` - Automated birthday wishes.
- **Suggestions**: `/suggest <text>` - Creates an embed with voting reactions and a discussion thread.
- **Disboard Tracker**: `/bumplb` - View the leaderboard for users who bump the server.
- **Bump Stats**: `/bumpstats` - Total bumps and the most recent bumper. Also `?mybumps` and `?topbump`.
- **Text-to-Speech**: `?logintts <name>` then `?tts <text>` - Speak in your voice channel. Use `?leavevc` to disconnect.
- **Truth or Dare**: `?tod`, `?truth`, `?dare` - Get a random Truth or Dare prompt.

[← Back to README](../README.md)
2 changes: 1 addition & 1 deletion docs/GAMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Eigen Bot integrates multiple systems to reward active members and foster friend
An anti-grief counting system with highscore tracking.
- **Anti-Double Count**: Prevents users from counting twice in a row (3 warnings = fail).
- **Save Protection**: Uses **Personal Saves** or **Server Saves** to prevent a reset to 0.
- **Commands**: `/setcountingchannel`, `?highscoretable`, `?donateguild` (Donate 1.0 personal save to gain 0.5 server save).
- **Commands**: `/setcountingchannel`, `?highscoretable`, `?donateguild` (Donate 1.0 personal save to gain 0.5 server save), `?guildsaves` (View server save pool), `?mcl` (Most valid counts leaderboard), `?mrl` (Most ruined counts leaderboard), `?scs` (Server count stats).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BROTHER THIS IS TOO MINIMAL THIS DEFINELTY DOESNT CLOSE #47 and #27

## CodeBuddy Quizzes
Automated coding challenges to test your community's knowledge.
Expand Down