mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 08:45:03 +00:00
removed unnecessary non-null operator
This commit is contained in:
parent
736cb3a9af
commit
78f68f0d8a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export function runAutomodOnMessage(
|
|||
message: SavedMessage,
|
||||
isEdit: boolean,
|
||||
) {
|
||||
const user = pluginData.client.users.cache!.get(message.user_id as Snowflake);
|
||||
const user = pluginData.client.users.cache.get(message.user_id as Snowflake);
|
||||
const member = pluginData.guild.members.cache.get(message.user_id as Snowflake);
|
||||
|
||||
const context: AutomodContext = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue