This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
from discord.ext import commands | |
import tenorpy | |
bot = commands.Bot(command_prefix='!') | |
t = tenorpy.Tenor() | |
@commands.command() | |
async def gif(ctx, giftag): | |
"""This command will return a tenor gif if you type "!gif cat" as example.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A bash script for installing Python 3.10.2 on your Raspberry Pi. | |
# (c) 2022 Valentin B. / Midian T. E. | |
# | |
# Open your terminal and type the following command: | |
# sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh | |
sudo apt-get update -y | |
sudo apt-get upgrade |