Skip to content

Instantly share code, notes, and snippets.

View Glowstik-YT's full-sized avatar

Glowstik_ Glowstik-YT

View GitHub Profile
@Glowstik-YT
Glowstik-YT / PRIVACY.md
Created August 6, 2024 00:15
Discord Bot Privacy Policy Template by itsglowstik_

Privacy Policy for [bot-name]

This Privacy Policy outlines how personal information is collected, utilized, and shared by [bot-name], a Discord bot created by [developer]. By engaging with [bot-name], you agree to abide by the terms put forth in this Privacy Policy.

Information Collection

We gather information provided by you during your interaction with the bot, which includes your Discord user ID, username, server and channel details, and message content. Additionally, we may collect usage data, such as the frequency and duration of your bot usage.

Utilization of Your Information

from nextcord.ext import commands
import nextcord
import asyncio
from sqlalchemy import over
from config import TOKEN
import os
import aiosqlite
class AddUser(nextcord.ui.Modal):
def __init__(self, channel):
@Glowstik-YT
Glowstik-YT / warns.py
Created July 12, 2022 03:59
a gist for my warn series on yt
from nextcord.ext import commands
import nextcord
from sqlalchemy import desc
from config import TOKEN
import asyncio
import aiosqlite
import datetime
bot = commands.Bot(command_prefix='!')
import discord
from discord.ext import commands
import aiosqlite
from config import TOKEN
import asyncio
bot = commands.Bot(command_prefix='!', intents = discord.Intents.all())
@bot.event
async def on_ready():
@Glowstik-YT
Glowstik-YT / tags.py
Created January 7, 2022 17:57
my tags code... ig
from time import time
from nextcord.ext import commands
import nextcord
import aiosqlite
async def runtag(ctx, name, guild):
async with aiosqlite.connect("main.db") as db:
async with db.cursor() as cursor:
await cursor.execute("SELECT content FROM tags WHERE name = ? AND guild = ?", (name, guild.id,))
data = await cursor.fetchone()