Skip to content

Commit

Permalink
Add permhint as an alias for notif
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimenpsyonal authored Jan 27, 2024
1 parent 6e21e49 commit d5a39ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MainModule/Server/Commands/Admins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ return function(Vargs, env)
AdminLevel = "Admins";
Function = function(plr: Player, args: {string}, data: {any})
for _, v in service.GetPlayers() do
--Remote.Send(v, "Function", "ChatMessage", string.format("[%s] %s", Settings.SystemTitle, service.Filter(args[1], plr, v)), Color3.fromRGB(255,64,77))
if service.TextChatService and service.TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
local TextToUse = args[1]
if data.Options.Chat ~= true then
Expand Down Expand Up @@ -412,7 +411,7 @@ return function(Vargs, env)

Notif = {
Prefix = Settings.Prefix;
Commands = {"setmessage", "notif", "setmsg"};
Commands = {"setmessage", "notif", "setmsg", "permhint"};
Args = {"message OR off"};
Filter = true;
Description = "Sets a small hint message at the top of the screen";
Expand Down

0 comments on commit d5a39ab

Please sign in to comment.