Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
kattah7 committed Jul 28, 2023
1 parent e9d5b5d commit 4171051
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/clients/events/USERNOTICE.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ async function rewardPoros(userID, Amount) {

const USERNOTICE = () => {
client.on('USERNOTICE', async (msg) => {
if (msg?.eventParams?.color) {
return;
}
if (['announcement', 'raid'].includes(msg.messageTypeID)) return;

const { channelName, channelID, senderUsername, senderUserID } = msg;
if ((msg.isResub || msg.isSub || msg.AnonSubgift || msg.isAnonGiftPaidUpgrade || msg.isSubgift) && channelID === '137199626') {
Expand Down

0 comments on commit 4171051

Please sign in to comment.