| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
|
|
Changed the regex to not punish users who have text other than
`@everyone` in their codeblocks.
Multiline codeblocks can now have `@everyone` in them.
|
|
Removed redundant comments.
Switched to regex to avoid punishing users for putting `@everyone`
in codeblocks.
Changed log message since this isn't a anti-spam rule based off
of frequency.
Added check for `<@&{guild_id}>` ping, also checks for codeblocks.
|
|
|
|
The NEGATIVE_REPLIES header is now the title of the embed.
|
|
Changed cryptic variable name.
Changed ping response to use `bot.constants.NEGATIVE_REPLIES`.
Changed ping repsonse to only ping user once.
|
|
Seperated the member count by commas every three digits.
|
|
Changed the message to say the raw member count, not just thousands.
Also cleaned up some unused variables and imports in the file.
|
|
Switched from string.format to f-string for server member count.
|
|
The you can view the embed text in the `everyone_ping.py` file.
The embed also now sends in the server instead of a DM.
|
|
Removed a debug `print` statement, fixed a spelling mistake.
Also added a comment for the DM string.
|
|
When a user pings the everyone role, they now get an embed explaining
why what they did was wrong.
The ping detection was also fixed to not thing that every message was a
ping (changed form `>=` to `>`).
|
|
Changed the method of checking for an everyone ping.
Also changed the config to act as `min pings` instead
of `ping enabled/disabled`.
|
|
The `max` and `interval` values were required, so they were added to
the config file and the rule was modified to accept these new values.
|
|
Added mapping to anti-spam cog, then also edited __init__ in the rules
folder to expose the apply function.
|