Giter Site home page Giter Site logo

evolutionx-10 / radon Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 9.42 MB

An advanced moderation discord bot

Home Page: https://dsc.gg/radonbot

License: Apache License 2.0

TypeScript 99.98% Shell 0.02%
discord-bot discord moderation moderation-discord-bot sapphire-framework bot

radon's Introduction

Radon

License GitHub stars GitHub issues Hits Continuous Integration

Table of Contents

Invite Radon to your server Click here

Beta Testing for Radon

At the moment I am not completely free but if you are interested in beta testing the bot and helping me out I would be glad. Find me here!

Developing on Radon

Requirements

You should have a good understanding of the following:

Contributing

To contribute to this repository, feel free to fork the repository and make your own changes. Once you have made your changes, you can submit a pull request.

  1. Fork the repository and select the main branch.
  2. Create a new branch and make your changes.
  3. Make sure you use a proper linter and a code formatter. 1
  4. Make sure you have a good commit message.2
  5. Push your changes.
  6. Submit a pull request here.

Project Stats

Radon

Footnotes

  1. We recommend using eslint and prettier to lint your code. โ†ฉ

  2. We strongly follow the Commit Message Conventions. This is important when commiting your code for a PR. โ†ฉ

radon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

radon's Issues

bug: Bot locks itself out of channels prematurely

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When locking a channel to the @everyone role when Radon doesn't have send messages specifically granted to it on that channel, the bot will be locked out by its own actions and unable to send the message.

Steps To Reproduce

  1. Create a channel with all permissions set to gray, and ensure that the bot and the bot's roles don't have send messages specifically granted on that channel
  2. Lock the channel, and try to send a message with the lock

Expected behavior

The message should be sent before locking the channel, to avoid locking the bot out.

Screenshots

No response

Additional context

The bot remains in a pending state for 15 minutes until it times out because of this bug, but the channel is still locked successfully

request: switch to prisma

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

Use prisma instead of mongoose

  • will remove 2 dependencies, mongoose and typegoose

Desired solution

Rewrite all code dealing with database of mongodb and use this as a guide

Alternatives considered

None, has to be done

Additional context

No response

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid schedule: 'Invalid schedule: Failed to parse "after 6pm everyday"'

request: update to v14

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

Update to discord.js v14

Desired solution

Make a branch and start updating codebase to v14 as soon as Sapphire supports v14

Alternatives considered

None

Additional context

Blocked by Sapphire v4 release

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update dependency @favware/cliff-jumper to v4
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency tsup to v8
  • chore(deps): update github/codeql-action action to v3
  • chore(deps): update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(deps): update yarn to v4
  • fix(deps): update dependency @sapphire/framework to v5
  • fix(deps): update dependency @sapphire/plugin-editable-commands to v4
  • fix(deps): update dependency @sapphire/plugin-logger to v4
  • fix(deps): update dependency @sapphire/plugin-scheduled-tasks to v10
  • fix(deps): update dependency bullmq to v5
  • fix(deps): update dependency undici to v6
  • ๐Ÿ” Create all pending approval PRs at once ๐Ÿ”

Errored

These updates encountered an error and will be retried. Click on a checkbox below to force a retry now.

  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • chore(deps): update github/codeql-action digest to 563dcaf
  • fix(deps): update all non-major dependencies (@prisma/client, @sapphire/decorators, @sapphire/discord-utilities, @sapphire/discord.js-utilities, @sapphire/duration, @sapphire/eslint-config, @sapphire/stopwatch, @sapphire/ts-config, @sapphire/type, @sapphire/utilities, @swc/core, @swc/helpers, @types/gradient-string, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, akhileshns/heroku-deploy, bullmq, discord.js, eslint, eslint-plugin-prettier, ioredis, lint-staged, node, prettier, prisma, typescript, undici, yarn)

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • github/codeql-action v2@e113c555ef0956479345cfc3ed530c938d670db0
  • github/codeql-action v2@e113c555ef0956479345cfc3ed530c938d670db0
.github/workflows/continuous-delivery.yml
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • actions/setup-node v3@1a4442cacd436585916779262731d5b162bc6ec7
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • akhileshns/heroku-deploy v3.12.14@9fd0f9faae4aa93a38d6f5e25b9128589f1371b0
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • akhileshns/heroku-deploy v3.12.14@9fd0f9faae4aa93a38d6f5e25b9128589f1371b0
.github/workflows/continuous-integration.yml
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • actions/setup-node v3@1a4442cacd436585916779262731d5b162bc6ec7
  • actions/checkout v3@f43a0e5ff2bd294095638e18286ca9a3d1956744
  • actions/setup-node v3@1a4442cacd436585916779262731d5b162bc6ec7
npm
package.json
  • @devtomio/plugin-botlist 1.3.0
  • @prisma/client 5.7.0
  • @sapphire/decorators 6.0.3
  • @sapphire/discord-utilities 3.2.1
  • @sapphire/discord.js-utilities 7.1.3
  • @sapphire/duration 1.1.1
  • @sapphire/framework 4.8.5
  • @sapphire/plugin-editable-commands 3.1.0
  • @sapphire/plugin-logger 3.0.7
  • @sapphire/plugin-scheduled-tasks 8.1.0
  • @sapphire/stopwatch 1.5.1
  • @sapphire/type 2.4.3
  • @sapphire/utilities 3.14.0
  • bullmq 4.15.2
  • colorette 2.0.20
  • colornames 1.1.1
  • confusables 1.1.1
  • discord.js 14.14.1
  • dotenv-cra 3.0.3
  • gradient-string 2.0.2
  • ioredis 5.3.2
  • undici 5.28.2
  • @favware/cliff-jumper 2.2.3
  • @sapphire/eslint-config 5.0.3
  • @sapphire/prettier-config 2.0.0
  • @sapphire/ts-config 5.0.0
  • @swc/core 1.3.100
  • @swc/helpers 0.5.3
  • @types/colornames 1.1.4
  • @types/gradient-string 1.1.5
  • @types/node 20.10.4
  • @types/string-similarity 4.0.2
  • @typescript-eslint/eslint-plugin 6.13.2
  • @typescript-eslint/parser 6.13.2
  • eslint 8.55.0
  • eslint-config-prettier 9.1.0
  • eslint-plugin-prettier 5.0.1
  • husky 8.0.3
  • lint-staged 15.2.0
  • prettier 3.1.0
  • prisma 5.7.0
  • tsup 7.3.0
  • typescript 5.3.3
  • node 20.10.0
  • yarn 3.7.0

  • Check this box to trigger a request for Renovate to run again on this repository

request: Automod

Automod

  • Mention Spam
  • Chat Spam
  • Anti Mention
  • Invite links
  • Anti Swear
  • Emoji/Sticker Spam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.