mirror of
https://github.com/arthur-pbty/shadowbot.git
synced 2026-06-03 15:07:37 +02:00
[PR #1] [MERGED] fix(prefix): prevent multiple prefix usage #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/arthur-pbty/shadowbot/pull/1
Author: @arthur-pbty
Created: 4/11/2026
Status: ✅ Merged
Merged: 4/11/2026
Merged by: @arthur-pbty
Base:
master← Head:fix/prefix-multiple📝 Commits (1)
d39eeeefix(prefix): prevent multiple prefix usage like ++++ping📊 Changes
3 files changed (+7 additions, -9 deletions)
View changed files
📝
src/commands/automation/piconly.rs(+3 -4)📝
src/commands/mod.rs(+1 -1)📝
src/events/message.rs(+3 -4)📄 Description
Summary
Prevents commands from being executed when multiple prefixes are used (e.g. ++++ping).
Changes
Expected behavior
+ping -> works
++++ping -> ignored
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.