Skip to content

Instantly share code, notes, and snippets.

Avatar
🐊
Nom nom nom

Matthew MrCrypticxDev

🐊
Nom nom nom
View GitHub Profile
@MrCrypticxDev
MrCrypticxDev / privacy-policy.md
Last active May 3, 2022
Aspire Discord bot privacy policy.
View privacy-policy.md

Last Updated: October 25, 2021

"Aspirex" or "Aspire" does not store data when the bot is added to a guild; instead, that process begins when a moderator begins to run moderator commands/configs, from which we store up to most are channel IDs, member IDs, role IDs, and the guild ID, which are stored based on warn, mute, and config setup; member IDs are stored when a member is warned & if they are blacklisted. Member data can be removed when a member leaves the guild or if the guild has warnfilter enabled, not to add, this data is also deleted when the member have reached the max warnfilter & data cannot be restored. You can remove any stored config/guildData running the corresponding commands, the Config Module's setup can be automatically removed. Run the config help command to learn more.

Our "Tags System" or "Tags Module" is a content storage tool that allows you to quickly save and request messages. When a tag is saved, the tag name, content, and guild ID are saved, and can be removed with the

@MrCrypticxDev
MrCrypticxDev / gist:e848bda6b6b82e76206bf822212e8a5a
Last active Jul 28, 2022
Cloudflare workers snippet for custom image url shortners. You can use this with ShareX
View gist:e848bda6b6b82e76206bf822212e8a5a
{
"Version": "14.1.0",
"Name": "Cloudflare Worker",
"DestinationType": "URLShortener",
"RequestMethod": "POST",
"RequestURL": "https://YOUR_SUBDOMAIN_HERE.workers.dev/",
"Body": "JSON",
"Data": "{\n \"url\": \"{input}\"\n}",
"URL": "{response}"
}
@MrCrypticxDev
MrCrypticxDev / gist:7f465430a7efb7c4e3f13db322eaab9d
Last active Jun 9, 2021
a simple drag n' drop/click n' drag object script for roblox, local player **only**!
View gist:7f465430a7efb7c4e3f13db322eaab9d
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local down
local mtarget
clickmoveon = true
function clickObj()
if mouse.Target ~= nil then
mtarget = mouse.Target
@MrCrypticxDev
MrCrypticxDev / gist:39e45d6779246f4a9c8575398e1f2fb1
Created Jun 8, 2021
a small snippet to change your roblox character walk speed, for testng purposes!
View gist:39e45d6779246f4a9c8575398e1f2fb1
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 // you can put any number
@MrCrypticxDev
MrCrypticxDev / authorize.js
Created Jun 6, 2021
An easy snippet to generate your Discord bot's Bearer token!
View authorize.js
const express = require('express');
const app = express();
const fetch = require('node-fetch');
const client_id = 'CLIENT_UI'; //can be found in the developer portal
const redirect_uri = 'http://localhost:8000/home';
const client_secret = 'CLIENT_SECRET'; //can be also found in the developer portal
const scope = 'identify'; // set the redirect_uri in your OAuth2 section and use the identify scope in your browser.
app.get('/authorize', (req, res) => {
@MrCrypticxDev
MrCrypticxDev / ExtendedMessage.js
Created Feb 16, 2021 — forked from Allvaa/ExtendedMessage.js
Discord.js v12 Inline Replies (use discord.js's Message#reply instead because the PR has been merged)
View ExtendedMessage.js
const { APIMessage, Structures } = require("discord.js");
class Message extends Structures.get("Message") {
async inlineReply(content, options) {
const mentionRepliedUser = typeof ((options || content || {}).allowedMentions || {}).repliedUser === "undefined" ? true : ((options || content).allowedMentions).repliedUser;
delete ((options || content || {}).allowedMentions || {}).repliedUser;
const apiMessage = content instanceof APIMessage ? content.resolveData() : APIMessage.create(this.channel, content, options).resolveData();
Object.assign(apiMessage.data, { message_reference: { message_id: this.id } });