Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Discord Bots 5: Posting GIFs

50.8K views
•
December 17, 2020
by
The Coding Train
YouTube video player
Discord Bots 5: Posting GIFs

TL;DR

Learn how to create a Discord bot that can retrieve GIFs from Tenor.com and post them in Discord using commands.

Transcript

welcome back here is another discord bot tutorial in this tutorial i'm going to attempt to retrieve a gif from tenor.com and post that gif to uh discord itself so i'll use a command like exclamation point gif a search term and then i'll get a gif back from tender.com so there's lots of different gif apis you could you could have your own library of... Read More

Key Insights

  • 🤖 The tutorial demonstrates how to create a Discord bot that can retrieve GIFs from Tenor.com and post them in Discord using commands.
  • 🤩 The process involves obtaining a Tenor API key, saving it in a .env file, and using the key to make requests to the Tenor API for GIFs based on user commands.
  • 🤖 The tutorial covers how to handle multiple commands, modify the code to get a random GIF, and add search functionality to the bot.
  • 🤖 Customizing the GIFs used by the bot and adding additional functionality are possible by utilizing the search functionality and implementing a command handler respectively.
  • 💝 The tutorial also introduces the concept of a content filter to ensure that only family-friendly GIFs are retrieved.
  • 😒 The use of the fetch function and async/await syntax is recommended for making API requests in a modern and efficient way.
  • 😒 The tutorial highlights the importance of code organization and scalability, suggesting the use of a command handler to handle multiple commands seamlessly.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do I obtain a Tenor API key?

To obtain a Tenor API key, you need to log in, create an application, and follow the simple process outlined in the tutorial. Links to the necessary resources are provided in the video description.

Q: Can I customize the GIFs used by the bot?

Yes, you can customize the GIFs used by the bot. The tutorial demonstrates how to use the Tenor API to search for specific GIFs based on user input.

Q: Can I add additional functionality to the bot?

Yes, you can add additional functionality to the bot. The tutorial introduces the concept of a command handler, which allows you to break out different commands into separate JavaScript files and build a larger, more robust bot.

Q: Is it possible to filter the GIFs returned by the bot?

Yes, it is possible to filter the GIFs returned by the bot. The tutorial shows how to use the "content filter" feature of the Tenor API to ensure that only family-friendly GIFs are retrieved.

Summary & Key Takeaways

  • This tutorial focuses on creating a Discord bot that can retrieve GIFs from Tenor.com and post them in Discord using commands.

  • The process involves obtaining a Tenor API key, saving it in a .env file, and using the key to make requests to the Tenor API for GIFs based on user commands.

  • The tutorial covers how to handle multiple commands, modify the code to get a random GIF, and add search functionality to the bot.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
8.1: Fractals - The Nature of Code thumbnail
8.1: Fractals - The Nature of Code
The Coding Train
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
9.4: Genetic Algorithm: Looking at Code - The Nature of Code thumbnail
9.4: Genetic Algorithm: Looking at Code - The Nature of Code
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.