Skip to content

Commit

Permalink
@sherlock Holz wo du gerade am bot bist
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Feb 27, 2024
1 parent 487dc14 commit bc34587
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/handler/quoteHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,19 @@ export default {

if (isQuoterQuotingHimself(quoter, quotedUser)) {
await context.textChannels.hauptchat.send({
content: `${quoter} der Lellek hat gerade versucht sich, selbst zu quoten. Was für ein Opfer!`,
embeds: [
{
color: 0xe83e41,
author: {
name: quoter.displayName,
icon_url:
quoter.avatarURL({ forceStatic: true }) ??
undefined,
},
title: `${quoter} der Lellek hat gerade versucht sich, selbst zu quoten. Was für ein Opfer!`,
description: quotedMessage.cleanContent,
},
],
allowedMentions: {
users: [quoter.id],
},
Expand Down

0 comments on commit bc34587

Please sign in to comment.