You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* WIP: Update DSharpPlus to 5.0.0-nightly-02379
* Fix missed breaking changes
* Adjust text command names to avoid duplicate commands when registering
Text command names are in the format "commandtextcmd", like "bantextcmd"; the original name ("ban") is now the first alias
* Resolve remaining TODOs
* Fix (at least partially) group commands
* Error handling: Strip "textcmd" from cmd names, fix check failure handling
* Fix [RequirePermissions] usage
* Combine commands that can be combined, move all commands to Commands namespace
* Upgrade DSharpPlus to 5.0.0-nightly-02422
* Remove mistakenly-added file
* Fix incorrect namespaces
* Remove import of deleted namespace
* Restore friendlier note in command syntax error embed
* Use SlashCommandContext for user context commands as workaround for potential DSharpPlus bug
* Prevent !debug overrides from being registered as a slash command
* Upgrade DSharpPlus and switch back to UserCommandContext
Nightly 02426 resolves the bug that was present in DSharpPlus
* Fix missed merge conflict changes / adjust for DSharpPlus.Commands
* Implement a help command for text cmds & fix global cmd registration
* Help: Properly filter out args of type CommandContext
* Help: Show perms error when user lacks perms for requested cmd
* Fix command registration
* Add missing returns to permission error messages
* Correctly show permission errors even on ArgumentParseException
* Fix permission checks
Show correct command names & permissions in RequireHomeserverPerm failure messages, properly honor OwnerOverride
* Lockdown: Only try to FollowUpAsync when slash cmd is used
* Fix flaws in help handler
Fixes aliases not showing for some commands + help failing to show for commands that are not suffixed with 'textcmd'
* fix inverted error msgs in security actions
* fix command permission checks in DMs
* Move 'overrides' group out of 'debug', make 'overrides dump' text-only
* Properly hide subcommands from help that the user lacks perms for
* fix !help outside server showing extra commands it shouldnt
---------
Co-authored-by: Erisa A <[email protected]>
return!ctx.Channel.IsPrivate&&ctx.Guild.Id==Program.cfgjson.ServerID?null:"This command must be used in the home server, but was executed outside of it.";
0 commit comments