Octol1ttle
687883bbf8
Closes #163 Discord's API sucks a lot. You ask it for a member, but it won't give you a member. This is why this PR updates the `GetEventNotificationMentions` method used to determine what roles and users should get pinged for a scheduled event. Previously, the bot asked Discord to provide the member for each subscriber to determine whether or not they have the event notification role (to avoid pinging people personally when the role would already ping them). With this pull request, the bot uses MemberData, it's own member storage, for that purpose (if you're wondering why, refer to the first two sentences) |
||
---|---|---|
.github | ||
CodeAnalysis | ||
docs | ||
locale | ||
src | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
Octobot.csproj | ||
Octobot.sln |
Veemo! I'm a general-purpose bot for moderation (formerly known as Boyfriend) written by Labs Development Team 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!
Running Octobot
- Install .NET 7 SDK
- Go to the Discord Developer Portal, create a new application and get a bot token. Don't forget to also enable all intents!
- Clone this repository and open
Octobot
folder.
git clone https://github.com/LabsDevelopment/Octobot
cd Octobot
- Run Octobot using
dotnet
withBOT_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, 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.