Skip to content

Instantly share code, notes, and snippets.

View MrCrypticxDev's full-sized avatar
🐊
Nom nom nom

Matthew MrCrypticxDev

🐊
Nom nom nom
View GitHub Profile
@MrCrypticxDev
MrCrypticxDev / privacy-policy.md
Last active September 2, 2022 14:55
Aspire Discord bot privacy policy.

Last Updated: September 1, 2022

"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. You can remove any stored config 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 deletetag command. Apart from that, nothing "Aspirex" or "Aspire" stores hasn't been manually configured by the guild moderator.

All the information above which was

@MrCrypticxDev
MrCrypticxDev / gist:e848bda6b6b82e76206bf822212e8a5a
Last active July 28, 2022 20:17
Cloudflare workers snippet for custom image url shortners. You can use this with ShareX
{
"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 June 9, 2021 13:55
a simple drag n' drop/click n' drag object script for roblox, local player **only**!
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 June 8, 2021 17:51
a small snippet to change your roblox character walk speed, for testng purposes!
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 // you can put any number
@MrCrypticxDev
MrCrypticxDev / authorize.js
Created June 6, 2021 23:40
An easy snippet to generate your Discord bot's Bearer token!
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 February 16, 2021 16:49 — forked from Allvaa/ExtendedMessage.js
Discord.js v12 Inline Replies (use discord.js's Message#reply instead because the PR has been merged)
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 } });