mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +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,
|
message: SavedMessage,
|
||||||
isEdit: boolean,
|
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 member = pluginData.guild.members.cache.get(message.user_id as Snowflake);
|
||||||
|
|
||||||
const context: AutomodContext = {
|
const context: AutomodContext = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue