Relative Content

Tag Archive for javascriptnode.jsdiscorddiscord.jsgoogle-image-search

How can I make this slash command a message (prefix) command?

I’m hosting a Discord bot for a small private server of mine with the purpose of pulling a random image from Google Images search results. I’ve been using this repository as the basis, and after fixing the outdated intents in index.js it has been working great. However, this bot only supports slash commands, but I also want a message command (otherwise known as a prefix command) to be an alternative option for users.

How can make this slash command a message (prefix) command?

I’m hosting a Discord bot for a small private server of mine that’s purpose is pulling a random image from Google Images search results. I’ve been using this repository as the basis, and after fixing the outdated intents in index.js it has been working great. However, this bot only supports slash commands, but I also want a message command (otherwise known as a prefix command) to be an alternative option for users.