mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
removed unnecessary non-null operator
This commit is contained in:
parent
77b33c1858
commit
88f53b4af9
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
Reference in a new issue