Skip to content

Commit

Permalink
TgBot++: setowner cmd: Make it not enforced
Browse files Browse the repository at this point in the history
- This is used to set the owner id when its not set, cannot be enforced
  • Loading branch information
Royna2544 committed Jun 28, 2024
1 parent 8670ae8 commit a283fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command_modules/setowner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ static void setOwnerCommand(const Bot &bot, const Message::Ptr message) {
void loadcmd_setowner(CommandModule& module) {
module.command = "setowner";
module.description = "Set owner of the bot, for once";
module.flags = CommandModule::Flags::Enforced | CommandModule::Flags::HideDescription;
module.flags = CommandModule::Flags::HideDescription;
module.fn = setOwnerCommand;
}

0 comments on commit a283fb3

Please sign in to comment.