Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View PhantomNimbi's full-sized avatar
🏠
Working from home

Joshua Lewis PhantomNimbi

🏠
Working from home
View GitHub Profile
@PhantomNimbi
PhantomNimbi / user-info.ts
Last active July 5, 2022 06:50
Pylon.bot UserInfo Command
import * as app from '../config';
let config = {
slashCommands: discord.interactions.commands,
embeds: {
color: discord.decor.RoleColors.BLUE,
},
};
let slashCommands = config.slashCommands;
@PhantomNimbi
PhantomNimbi / config.ts
Last active July 5, 2022 07:08
Pylon.bot Config File
import * as logger from './logger';
const config = {
channels: {
logger: '927217111342936074',
},
logger: {
timezone: 'America/Phoenix',
showTimestamps: true,
showEventNames: true,
@PhantomNimbi
PhantomNimbi / reddit-feed.ts
Last active July 5, 2022 07:59
Pylon Reddit Feeds
import * as app from '../config';
let config = {
reddit: {
check_interval: '0 1 15 * * Thu *',
},
slashCommands: discord.interactions.commands,
permissions: {
manage_channels: discord.Permissions.MANAGE_CHANNELS,
},
@PhantomNimbi
PhantomNimbi / waifu.ts
Last active July 5, 2022 06:49
Pylon Waifu Command using Waifu.Pics API
import * as app from '../config';
let config = {
slashCommands: discord.interactions.commands,
permissions: {
manage_channels: discord.Permissions.MANAGE_CHANNELS,
},
logger: {
channel: '927217111342936074',
color: discord.decor.RoleColors.DARK_RED,
@PhantomNimbi
PhantomNimbi / karma.ts
Last active July 5, 2022 08:18
Pylon.Bot Karma System
import * as app from '../config';
let config = {
slashCommands: discord.interactions.commands,
logger: {
channel_id: '927217111342936074',
embed_color: discord.decor.RoleColors.DARK_RED,
},
embeds: {
color: discord.decor.RoleColors.BLUE,
@PhantomNimbi
PhantomNimbi / tickets.ts
Last active July 5, 2022 07:54
Pylon.Bot Ticket System
import * as app from '../config';
import * as DB from '../database/betterKV';
let config = {
slashCommands: discord.interactions.commands,
roles: {
ticket_managers: ['721103743579324467', '850580487714111568'],
},
tickets: {
@PhantomNimbi
PhantomNimbi / mute-system.ts
Created May 27, 2022 22:21
Pylon.Bot Mute System
import * as CONFIG from '../modules/config';
import * as CMD from '../modules/config/commands';
import * as KV from '../modules/betterKV';
const GROUP = CONFIG.CLIENT.COMMANDS;
const CHANNELS = CONFIG.CHANNELS;
const EMBEDS = CONFIG.EMBEDS;
const IMAGES = CONFIG.IMAGES;
const ROLES = CONFIG.PERMISSIONS.ROLE;
@PhantomNimbi
PhantomNimbi / ban-system.ts
Created May 27, 2022 22:10
Pylon.bot Ban System
import * as CONFIG from '../modules/config';
import * as CMD from '../modules/config/commands';
const GROUP = CONFIG.CLIENT.COMMANDS;
const CHANNELS = CONFIG.CHANNELS;
const EMBEDS = CONFIG.EMBEDS;
const IMAGES = CONFIG.IMAGES;
GROUP.subcommand(
{
@PhantomNimbi
PhantomNimbi / about.ts
Last active July 5, 2022 07:56
Simple Pylon.bot About Command
import * as app from '../config';
const config = {
slashCommands: discord.interactions.commands,
links: {
studio: '[Pylon Studio](https://pylon.bot/studio)',
website: '[Pylon.bot](https://pylon.bot/)',
discord: '[Discord](https://discord.gg/6DbcNPz)',
},
embeds: {
@PhantomNimbi
PhantomNimbi / warn-system.ts
Last active May 27, 2022 22:21
Pylon.Bot Warning System
import * as CONFIG from '../modules/config';
import * as CMD from '../modules/config/commands';
import * as KV from '../modules/betterKV';
const GROUP = CONFIG.CLIENT.COMMANDS;
const CHANNELS = CONFIG.CHANNELS;
const EMBEDS = CONFIG.EMBEDS;
const IMAGES = CONFIG.IMAGES;
const ROLES = CONFIG.PERMISSIONS.ROLE;