mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 06:05:22 +00:00
Use caption in substom
This commit is contained in:
@@ -9,6 +9,7 @@ export const substom = (reason: string): Promise<string> =>
|
||||
role: { $ne: "master" },
|
||||
type: "copy",
|
||||
});
|
||||
if (!command) return match;
|
||||
return command.content.text + " ";
|
||||
const text = command?.content.text || command?.content.caption;
|
||||
if (!text) return match;
|
||||
return text + " ";
|
||||
});
|
||||
|
Reference in New Issue
Block a user