SharkyTheKing / Sharky

Sharky's Cogs. If you have any suggestions or issues, please feel free to add them here.
19 stars 8 forks source link
cog discord red-discordbot sharky

Sharky

Codes that I've been working on for use, feedback and issues are welcomed!

Where to find me

Red Cog Support

Install

These codes are for Red Discord Bot, you MUST have a up-todate RedBot to use and/or install these codes.

Charlimit

Limits amount of characters and lines your members are able to send in a channel.

This works perfect for LFG channels that you want to limit the amount of spam they put into their messages.

It'll also send a message saying how many characters / lines is needed to not be removed, though this is defauled to being off. You must turn this on to allow for it to send a message. Currently, not adjustable message.

Note: You MUST have set the proper permissions for the bot to be able to manage_messages in each of the channels affected or else this could cause issues.

Lockdown

Lockdown system for guilds. Let's you completely lockdown your server Text Channels with having the option for the bot to leave a message.

Note: You MUST have set the proper permissions for the bot to be able to send_messages, manage_channels, manage_permissions in each of the channels affected or else this could cause issues.

Commands:

MailSystem

Warning: This is a pre-release, this is not close to being completed, I need more feedback and information from Red users. This means that by installing this cog, you understand there is a risk that issues could happen for you, your bot, or the members using your bot.

I am still working on this cog and thinking of ways to handle different things. Currently, this doesn't support restricting modmail to a specific guild. By installing you are allowing every guild owner (or staff that is considered an admin or has manage_channel permissions) the ability to set this up for their guild.

Do not submit random PRs without talking to me or Kreusada, the code is set the way it is for future plans that I won't discuss publicly yet.

Note: These are subject to change at any moment's notice due to the pre-release.

Commands:

MorseShark

Allows you to encode string into morsecode and lets you decode morsecode into text. Currently only English's standard text is available, if you'd like to help allow for more customizability, please reach out through the red's cog support server.

This is just a simple morse code cog, if you want to take from this cog and use it in your own example, please feel free to.

Note: This can be spammy, as it accounts for users who have 4k character limit.

Commands:

MsgTracker

Counts how many messages a person sends in the guild if enabled. Sorts them into a leaderboard to display, allows for the members to set themselves to be ignored from the bot. Staff members have to allow them to be tracked if the member changes their mind.

Note: As a bot owner, you have the ability to disable the command that sets members to be ignored. This is up to you, though this Cog will still handle data deletions regardless of the command setting.

NameGen

Gives a random name based on first name and last name lists created by you.

Note: There are two functionality. Either sending a message or renaming someone when using the primary command. If you want it to rename, then the bot must need manage_nicknames permission

Commands:

NewsPublish

Automatic news publishing for verified / partnered servers that have a news channel.

Note: The bot must have manage_messages and send_messages permissions to publish your messages.

This lets you automatically publish messages via bot, in your news channels. You can set an alert message so the bot will alert the selected channel if it's unable to publish the new message due to Discord's Ratelimit of publishing.

Commands:

Reports

Report system for Moderators of servers.

Note: The bot must have send_messages and manage_messages permissions or else this could cause issues.

This is a simple report members cog, you set it up and members can report members to the server's moderator without having to have hassles of contacting a moderator directly.

Commands:

SharkyTools

Tools that I've made for personal use.

Note: If you are to use this, this needs ban_members permissions for the findban command.

Shows members account information (join date, profile picture, etc). Can show specific's users avatar. Find if someone's banned based off of userid.

Commands:

Verify

Server verification system, requires people to type command to be allowed access in server

Note: This requires your knowledge of locking people out via role. This does not automatically handle this, it assumes you are or the person using this is capable of setting Discord permissions to disallow member viewing any channel except Rules and whatever channel used to send the command in. Due to this, this requires Manage_Roles