As of right now, Filtering is broken in Basic Admin – Here’s how to fix it
ROBLOX made a change in one of their Filtering systems that Basic Admin uses to filter player messages and commands. Please keep in mind that for right now, this can only be fixed by importing in the MainModule as the tutorial shows in this original post in the Setup section: The Ultimate Basic Admin Essentials Guide
How commands look now before making this change:
Text is returned nil (empty) for PMs and :m has a blank text.
The circled red box is the problematic line of code. It will need to be replaced with Filtered = rawFilterData:GetNonChatStringForUserAsync(Receiver.UserId)
Here is how it should look after replacing the one line of code. For explaining this, the problematic line of code has been commented out to illustrate which is the bad one. It’s in gray.
Now it’s fixed!
TLDR:
In local function Filter
in the MainModule, replace:
Filtered = rawFilterData:GetChatForUserAsync(Receiver.UserId)
with Filtered = rawFilterData:GetNonChatStringForUserAsync(Receiver.UserId)
, going from GetChatForUserAsync → GetNonChatStringForUserAsync.