Skip to content

Instantly share code, notes, and snippets.

View Anubhav1603's full-sized avatar
🕊️
dove is the best

Anubhav Sinha Anubhav1603

🕊️
dove is the best
View GitHub Profile
@Anubhav1603
Anubhav1603 / README.md
Created April 3, 2022 11:02 — forked from richardblondet/README.md
Create a simple API backend with Google App Script and a Spreadsheet

Google App Script CRUD

Inspired by this gist.

Getting Started

  1. Create a new App Script project.
  2. Paste the content of the file google-app-script-crud.gs in the default Code.gs file.
  3. Create a new Spreadsheet.
  4. Copy the Spreadsheet ID found in the URL into the variable SHEET_ID located in line 1 of your file.
@Anubhav1603
Anubhav1603 / HelpCommand_walkthrough_guide.md
Created June 23, 2021 12:41 — forked from InterStella0/HelpCommand_walkthrough_guide.md
Walkthrough guide on subclassing HelpCommand
@Anubhav1603
Anubhav1603 / examples.md
Last active October 22, 2023 03:02
Code examples of discord.py rewrite

discord.py code examples

Preface

Introduction

I am making this gist to show some examples of stuff you can do with discord.py, and also because the amount of up-to-date examples online is rather limited.

This will not be a guide for learning how to use the basics of the wrapper, but merely showing some code to get a better understanding of some of the things discord.py can do. I will therefore assume that anybody looking at this will understand the basics of both python and the wrapper in question.

I will also assume that asyncio, discord.ext commands and discord are installed and imported, and that the commands.Bot instance is stored in the variable bot.