mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 23:09:59 +00:00
7 lines
247 B
TypeScript
7 lines
247 B
TypeScript
![]() |
import { PluginData } from "knub";
|
||
|
import { getDefaultPrefix } from "knub/dist/commands/commandUtils";
|
||
|
|
||
|
export function getGuildPrefix(pluginData: PluginData<any>) {
|
||
|
return pluginData.guildConfig.prefix || getDefaultPrefix(pluginData.client);
|
||
|
}
|