1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:01:13 +03:00
A general-purpose Discord bot for moderation written in C#
Find a file
Octol1ttle f47ebe81c5
Do not wrap result errors when returning them (#73)
This PR removes the wrapping of in-house created result errors with
`Result.FromError` (I did not know this was possible until today, lol),
which reduces code verbosity and makes it easier to read, and replaces
`ArgumentNullError` with `ArgumentInvalidError` when retrieving IDs from
a command context, which, in my opinion, is more correct.

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-07-28 16:58:55 +00:00
.github Force maximum Cognitive Complexity via InspectCode (#60) 2023-07-21 08:54:52 +05:00
CodeAnalysis Add code analysis to prohibit using bad methods and properties (#70) 2023-07-24 20:35:45 +03:00
docs Remove "code quality" badge (#57) 2023-07-20 07:55:02 +00:00
locale Resolving issues on #65 (#72) 2023-07-26 18:07:05 +00:00
src Do not wrap result errors when returning them (#73) 2023-07-28 16:58:55 +00:00
.editorconfig Switch to Remora.Discord (#41) 2023-07-09 16:32:14 +03:00
.gitignore Switch to Remora.Discord (#41) 2023-07-09 16:32:14 +03:00
Boyfriend.csproj Add code analysis to prohibit using bad methods and properties (#70) 2023-07-24 20:35:45 +03:00
Boyfriend.sln Rename solution & project, move the project files one layer up 2023-01-18 20:17:33 +05:00
LICENSE Seal all possible classes, add LICENSE, follow async naming conventions 2022-09-18 19:41:29 +05:00

Boyfriend logo

GitHub License GitHub Workflow Status GitHub last commit

Beep! I'm a general-purpose bot for moderation written by @Octol1ttle 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
  • Log everything from joining the server to deleting messages

...and more!

Installing and running Boyfriend

You can read our wiki in order to assemble your Boyfriend™ and moderate the server.

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 Boyfriend with one of their Open Source Licenses. Rider is the recommended IDE when working with Boyfriend, and everyone on the Boyfriend 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.