A fork of multiple-purpose Discord bot written in Remora.Discord
This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Octol1ttle 171cfaea1a
Add 'ModeratorRole' guild setting (#290)
Octobot has various moderation commands such as /ban, /mute, /kick.
These commands add multiple features to Discord's built-in functions
(such as durations and logging). Some admins may want to force their
users to use Octobot's commands instead of Discord UI functions.
However, due to the current design, they can't take away the permissions
as that remove access to the respective command.

This PR adds the `ModeratorRole` option which allows anyone who has
`ManageMessages` permission and the role to perform any moderator
action.

If the role is not set, the Discord permissions are checked instead. If
the user doesn't have the role, but has the permission, they can still
run the command.

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-24 23:29:10 +05:00
.github Bump muno92/resharper_inspectcode from 1.11.6 to 1.11.7 (#262) 2024-02-12 08:44:52 +00:00
CodeAnalysis Ban usages of Thread#Sleep (#243) 2023-12-21 20:21:20 +03:00
docs Remove mctaylors.ru mentions (#251) 2024-01-22 20:47:53 +05:00
locale Add 'ModeratorRole' guild setting (#290) 2024-03-24 23:29:10 +05:00
src Add 'ModeratorRole' guild setting (#290) 2024-03-24 23:29:10 +05:00
.editorconfig Allow using expression-bodied properties (#280) 2024-03-20 21:08:59 +05:00
.gitignore Update .gitignore (#150) 2023-10-04 21:49:21 +05:00
LICENSE Seal all possible classes, add LICENSE, follow async naming conventions 2022-09-18 19:41:29 +05:00
Octobot.csproj Add GitInfo NuGet package (#268) 2024-03-19 20:51:32 +03:00
Octobot.sln Rebrand to Octobot (#128) 2023-09-30 18:58:32 +05:00

Octobot banner

Veemo! I'm a general-purpose bot for moderation (formerly known as Boyfriend) written by Team Octolings in C# and Remora.Discord

Features

  • Banning, muting, kicking, etc.
  • Reminding you about something if you wish
  • Reminding everyone about that new event you made
  • Renaming those annoying self-hoisting members
  • Log everything from joining the server to deleting messages
  • Listen to music!

...a-a-and more!

Building Octobot

  1. Install .NET 8 SDK
  2. Go to the Discord Developer Portal, create a new application and get a bot token. Don't forget to also enable all intents!
  3. Clone this repository and open Octobot folder.
git clone https://github.com/TeamOctolings/Octobot
cd Octobot
  1. Run Octobot using dotnet with BOT_TOKEN variable.
dotnet run BOT_TOKEN='ENTER_TOKEN_HERE'

Contributing

When it comes to contributing to the project, the two main things you can do to help out are reporting issues and submitting pull requests. Please refer to the contributing guidelines to understand how to help in the most effective way possible.

Special Thanks

JetBrains Logo (Main) logo

JetBrains, creators of ReSharper and Rider, supports Octobot with one of their Open Source Licenses. Rider is the recommended IDE when working with Octobot, and everyone on the Octobot team uses it. Additionally, ReSharper command-line tools made by JetBrains are used for status checks on pull requests to ensure code quality even when not using ReSharper or Rider.

Not an official Splatoon™ product. We are in no way affiliated with or endorsed by Nintendo Company, or other rightsholders.