mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-16 21:02:25 +00:00
feat: better gen-list + pr template (#100)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
//@ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This plugin checks the fields of a ModalSubmitInteraction
|
||||
* with regex or a custom callback
|
||||
*
|
||||
@@ -25,6 +26,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @plugin
|
||||
*/
|
||||
import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
|
||||
import type { ModalSubmitInteraction } from "discord.js";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is buttonConfirmation plugin, it runs confirmation prompt in the form of buttons.
|
||||
* Note that you need to use edit/editReply in the command itself because we are already replying in the plugin!
|
||||
* Credits to original plugin of confirmation using reactions and its author!
|
||||
@@ -17,6 +18,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This plugin checks if a channel is the specified type
|
||||
*
|
||||
* @author @Benzo-Fury [<@762918086349029386>]
|
||||
@@ -16,6 +17,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
import { ChannelType } from "discord.js";
|
||||
import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* Asks the user for a confirmation message before executing the command
|
||||
*
|
||||
* @author @trueharuu [<@504698587221852172>]
|
||||
@@ -18,6 +19,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* Allows you to set cooldowns (or "ratelimits") for commands
|
||||
* limits user/channel/guild actions,
|
||||
* @author @trueharuu [<@504698587221852172>]
|
||||
@@ -15,6 +16,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* Disables a command entirely, for whatever reasons you may need.
|
||||
*
|
||||
* @author @jacoobes [<@182326315813306368>]
|
||||
@@ -15,7 +16,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
import { CommandType, CommandControlPlugin, controller } from "@sern/handler";
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is dmOnly plugin, it allows commands to be run only in DMs.
|
||||
*
|
||||
* @author @EvolutionX-10 [<@697795666373640213>]
|
||||
@@ -14,7 +15,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
import { CommandControlPlugin, CommandType, controller } from "@sern/handler";
|
||||
export function dmOnly(content?: string, ephemeral?: boolean) {
|
||||
|
||||
@@ -605,6 +605,7 @@ export type FilterOptions = {
|
||||
* // your code here
|
||||
* }
|
||||
* });
|
||||
* @end
|
||||
*/
|
||||
|
||||
export const filter =
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This plugin checks if the channel is nsfw and responds to user with a specified response if not nsfw
|
||||
*
|
||||
* @author @Benzo-Fury [<@762918086349029386>]
|
||||
@@ -14,7 +15,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
import {
|
||||
ChannelType,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is OwnerOnly plugin, it allows only bot owners to run the command, like eval.
|
||||
*
|
||||
* @author @EvolutionX-10 [<@697795666373640213>]
|
||||
@@ -14,7 +15,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import { CommandType, CommandControlPlugin, controller } from "@sern/handler";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check user for that perm).
|
||||
*
|
||||
* @author @Benzo-Fury [<@762918086349029386>]
|
||||
@@ -15,6 +16,7 @@
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import type { GuildMember, PermissionResolvable } from "discord.js";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is publish plugin, it allows you to publish your application commands using the discord.js library with ease.
|
||||
*
|
||||
* @author @EvolutionX-10 [<@697795666373640213>]
|
||||
@@ -15,7 +16,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
import {
|
||||
CommandInitPlugin,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check bot or user for that perm).
|
||||
*
|
||||
* @author @Benzo-Fury [<@762918086349029386>]
|
||||
@@ -15,7 +16,8 @@
|
||||
* //your code here
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import type { GuildMember, PermissionResolvable } from "discord.js";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* @plugin
|
||||
* Checks if a command is available in a specific server.
|
||||
*
|
||||
* @author @Peter-MJ-Parker [<@371759410009341952>]
|
||||
@@ -17,6 +18,7 @@
|
||||
* },
|
||||
* });
|
||||
* ```
|
||||
* @end
|
||||
*/
|
||||
|
||||
import { CommandType, controller, CommandControlPlugin } from "@sern/handler";
|
||||
|
||||
Reference in New Issue
Block a user