Added a default return
This commit is contained in:
@@ -122,7 +122,7 @@ feature.on("message::url", logHandle("embed-check"), async (ctx: Context) => {
|
|||||||
|
|
||||||
if (!GROUP_IDS) {
|
if (!GROUP_IDS) {
|
||||||
console.info("Group IDS:", process.env.GROUP_IDS);
|
console.info("Group IDS:", process.env.GROUP_IDS);
|
||||||
await ctx.reply(
|
return await ctx.reply(
|
||||||
`There was a problem retrieving the whitelist\\. Check the env variables and try again\\.`,
|
`There was a problem retrieving the whitelist\\. Check the env variables and try again\\.`,
|
||||||
{
|
{
|
||||||
parse_mode: "MarkdownV2",
|
parse_mode: "MarkdownV2",
|
||||||
|
|||||||
Reference in New Issue
Block a user