Giter Site home page Giter Site logo

discord-bot's Introduction

๐Ÿค– Discord Bot

This is a Discord bot that uses the discord.js library and the Giphy API to interact with users in various ways.

๐ŸŒŸ Features

  • 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 ๐Ÿ“

๐Ÿš€ Setup

  1. Clone this repository ๐Ÿ“‚
  2. Run npm install to install the necessary packages ๐Ÿ“ฆ
  3. Replace 'YOUR_GIPHY_API_KEY' in index.js with your Giphy API key ๐Ÿ”‘
  4. Replace 'YOUR_DISCORD_BOT_TOKEN' in index.js with your Discord bot token ๐Ÿ”‘
  5. Run node index.js to start the bot ๐Ÿƒโ€โ™‚๏ธ

๐Ÿ“– Usage

  • 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 ๐Ÿ“

๐Ÿ‘ฅ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. ๐Ÿ“ฌ

discord-bot's People

Contributors

alihatem360 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.