47:49Discord Bots 5: Posting GIFs
From the creator
In this video, I demonstrate how to post GIFs to Discord from a bot. ๐ป Code: https://thecodingtrain.com/learning/bots/discord/05-posting-gifs.html ๐ฅ Next video: https://youtu.be/B60Q74FHFBQ ๐ฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6avBYxeBSwF48YhAnSn_sA4 Links discussed in this video: ๐ Official Coding Train Gif Page (Tenor): https://tenor.com/official/thecodingtrain ๐ Tenor API Documentation: https://tenor.com/gifapi/documentation ๐ Tenor API sign up: https://tenor.com/developer/keyregistration ๐ axios (GitHub): https://github.com/axios/axios ๐ Choo choo bot on Glitch: https://glitch.com/~choo-choo-bot-discord Other videos mentioned in this video: ๐ฅ Hiding API Keys with .env: https://youtu.be/G2Yns7NUSq4 ๐ฅ Fetch: https://youtu.be/tc8DU14qX6I ๐ฅ async/await Part 1: https://youtu.be/XO77Fib9tSI ๐ฅ Fire Effect - Coding Challenge #103: https://youtu.be/X0kjv0MozuY Timestamps: 0:00 Introduction! 0:37 Explain! Tenor API 1:13 Code! Add !gif command 2:33 Try! Multiple commands 2:49 Explain! Tenor Documentation 3:38 Code! fetch() some Coding Train GIFs 6:01 Try! console.log data from tenor 6:46 Code! Having bot send gif url 7:28 Try! Do we get a gif in discord? 7:42 Code! Let's make it random 8:57 Try! Hopefully that was all the mistakes 9:14 Code! Add a search term 11:55 Code! Add content filtering 12:56 Try! Let's find out if it works 13:42 Code! Add some alt text for the gif 14:00 Try! Make sure that worked 14:15 Wrap up! Choo Choo ๐ Website: http://thecod
Published 2020-12-17 ยท Watch on YouTube โ
Availability and playback restrictions are controlled by the original channel.





