This is a Discord bot that uses the discord.js library and the Giphy API to interact with users in various ways.
- Responds to a "ping" command with "Pong!" ๐
- Sends a random meme when the "randommeme" command is used ๐ฒ
- Sends a meme related to a given description when the "meme" command is used ๐ฑ
- Replies with user info when the "user" command is used ๐ค
- Logs a message to the console when a message is deleted ๐
- Clone this repository ๐
- Run
npm install
to install the necessary packages ๐ฆ - Replace
'YOUR_GIPHY_API_KEY'
inindex.js
with your Giphy API key ๐ - Replace
'YOUR_DISCORD_BOT_TOKEN'
inindex.js
with your Discord bot token ๐ - Run
node index.js
to start the bot ๐โโ๏ธ
- Send "!ping" in a channel the bot has access to, and the bot will respond with "Pong!" ๐
- Send "!randommeme" in a channel the bot has access to, and the bot will send a random meme ๐ฒ
- Send "!meme cat" in a channel the bot has access to, and the bot will send a cat meme ๐ฑ
- Use the "/user" command in a channel the bot has access to, and the bot will reply with your user info ๐ค
- If you delete a message in a channel the bot has access to, the bot will send a message asking why you deleted it ๐
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. ๐ฌ