8000 GitHub - botagas/botagas-Cogs: Reworked tools from other repositories for modern use.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

botagas/botagas-Cogs

 
 

Repository files navigation

botagas-Cogs V3

CodeQL Linting

Custom cogs for Red-DiscordBot, created and maintained by botagas.
Originally forked from Seina-Cogs and Dav-Cogs, this repo introduces modern reworks for Captcha and Roomer with full support for slash commands, modals, and interactive UIs.


🔧 Installation

Replace [p] with your bot’s command prefix.

[p]load downloader
[p]repo add botagas-Cogs https://github.com/botagas/botagas-Cogs
[p]cog install botagas-Cogs <cogname>
[p]load <cogname>

View, enable and sync slash commands

[p]slash list
[p]slash enablecog <cog>
[p]slash sync

Note

You may need to restart your Discord client to see the newly added slash commands.


🧩 Available Cogs

🏠 Roomer (fully reworked)

Roomer now supports slash commands, interactive buttons, modals, select menus, and game presets for managing temporary voice channels.

Required Category Permissions

  • View Channels - To view channels
  • Manage Channels - To update, edit, delete channels
  • Manage Permissions - To alter permissions for roles/users in the channels
  • Send Messages - To send messages in voice channels
  • Embed Links - To send embeds in voice channels
  • Connect - To connect to channels and alter them
  • Set Voice Channel Status - To set channel activity status
  • Move Members - To move members to their respective channels

Slash Commands:

  • /roomer add <channel> - Set Join to Create channel
  • /roomer remove <channel> - Remove Join to Create channel
  • /roomer enable - Enable automatic temporary channel creation
  • /roomer disable - Disable automatic temporary channel creation
  • /roomer preset — Manage game presets (add, edit, delete, list)

Core Features:

  • Automatically creates voice channels when users join a Join-to-Create (JTC) channel
  • Sends an interactive control panel to the room’s text chat with:
    • 🔒 Lock / Unlock — Toggle @everyone's connect permission
    • 🙈 Hide / Unhide — Toggle @everyone's view_channel permission
    • Permit — Grant access to selected members or roles
    • Forbid — Deny access to selected members or roles
    • ✏️ Rename — Change the voice channel name
    • 📝 Set Status — Set a voice channel status
    • 👥 Set Limit — Max user cap (up to 99)
    • 🔄 Reset Channel — Revert to default settings from the JTC category
    • 🧹 Clear Permissions - Revert permission overwrites while keeping channel customisation
    • 🎙 Claim Room — Claim ownership if the owner is no longer present
    • 🎮 Channel Preset — Apply a predefined channel preset (sets title, status, limit)

Game Presets:

  • Admins can define game presets with /roomer preset add / edit / delete
  • Users can apply presets from the UI dropdown after pressing 🎮 Channel Preset
  • Each preset includes:
    • Title (required)
    • Status (optional)
    • Limit (optional)

New Behavior:

  • Channels are auto-deleted after 10 seconds of inactivity
    • Channels are deleted only when they are empty
    • Channel checks are triggered on voice state update
    • Even if the user is now present in another temporary channel right after leaving the previous one, the old channel is deleted if empty
  • Reset syncs permissions with the parent category
  • Lock/Hide buttons reflect the current state of the connect / view_channel permissions
  • Supports dynamic label updates on buttons after interaction for Lock and Hide buttons

WIP:

  • Full automatic translation support using Red’s translation system via github actions

🧪 Captcha (fully reworked)

The new Captcha system uses slash commands, modals, and UI buttons. No more clutter from join messages and replies.

Slash Commands:

  • /captcha channel <channel> — Set the verification channel
  • /captcha toggle — Enable/disable verification
  • /captcha deploy — Deploy the verification embed
  • /captcha role <VerifiedRole> — Role to assign upon verification
  • /captcha unverifiedrole <UnverifiedRole> — Role before verification
  • /captcha tries <number> — Number of attempts allowed
  • /captcha timeout <seconds> — How long the captcha is valid
  • /captcha embed <text> — Set message for the embed
  • /captcha before <text> — Message shown before captcha
  • /captcha after <text> — Message shown after success

Features:

  • Verification message is persistent and interactive
  • DM-enabled users receive an image captcha
  • DM-disabled users fallback to modal-based verification
  • Captchas automatically expire and invalidate after timeout
  • Users can retry if captcha expires or fails
  • Cleans up messages automatically
  • Supports custom before/after/embed messages

Known Limitation / WIP:

  • After a restart or reload, you must re-run /captcha deploy to restore the verification button for proper operation

🙌 Credits


💬 Need Help?

Join Red - Cog Support for help or questions.
I don’t have my own support channel, but you may find me there as @Winter. GitHub issue reports are welcome.

About

Reworked tools from other repositories for modern use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%
0