Skip to content

Instantly share code, notes, and snippets.

View cloudsiege's full-sized avatar
👋
Discord is great.

Cloud Siege cloudsiege

👋
Discord is great.
View GitHub Profile
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active October 26, 2025 12:01
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@comhad
comhad / mybot.service
Last active May 17, 2025 20:41
How to setup a systemctl service for running your bot on a linux system
[Unit]
Description=My discord bot service
After=network.target
[Service]
ExecStart=/usr/bin/python3 mybot.py
WorkingDirectory=/home/user/bots/mybot
StandardOutput=inherit
StandardError=inherit
Restart=always
@Repox
Repox / send.php
Created April 12, 2018 06:04
Google API PHP Client - Firebase Cloud Messaging Service v1 example
<?php
/**
* This serves as an example of how to use the Google API PHP Client
* with Firebase Cloud Messaging Service.
*
* The client can be found here:
* https://github.com/google/google-api-php-client
*
* At the time of writing this, there's no Service object for the correct
@kaidesu
kaidesu / gist:9819416
Created March 27, 2014 21:29
PHP/MySQL User's Online Script
CREATE TABLE `user_online` (
`session` char(100) NOT NULL default '',
`time` int(11) NOT NULL default '0'
) TYPE=MyISAM;