|
| 1 | +import type { NoTranslate } from '@/i18n/types'; |
| 2 | +import type { PSCommand } from '@/types/chat'; |
| 3 | + |
| 4 | +export const commands: PSCommand[] = [ |
| 5 | + { |
| 6 | + name: 'boop', |
| 7 | + help: 'Boops', |
| 8 | + syntax: 'CMD', |
| 9 | + perms: ['room', 'mod'], |
| 10 | + categories: ['casual'], |
| 11 | + async run({ message, $T }) { |
| 12 | + return message.reply($T('COMMANDS.BOOP')); |
| 13 | + }, |
| 14 | + }, |
| 15 | + { |
| 16 | + name: 'pat', |
| 17 | + help: 'Pats a person.', |
| 18 | + syntax: 'CMD [user?]', |
| 19 | + perms: 'voice', |
| 20 | + aliases: ['pet'], |
| 21 | + categories: ['casual'], |
| 22 | + async run({ message, arg }) { |
| 23 | + return message.reply(`/me pats ${message.author.id === 'hydrostatics' ? 'Hydro' : arg}` as NoTranslate); |
| 24 | + }, |
| 25 | + }, |
| 26 | + { |
| 27 | + name: 'ping', |
| 28 | + help: "You're asking help on... how to use ping?", |
| 29 | + syntax: 'CMD', |
| 30 | + flags: { allowPMs: true }, |
| 31 | + perms: ['room', 'voice'], |
| 32 | + categories: [], |
| 33 | + async run({ message, $T }) { |
| 34 | + return message.reply($T('COMMANDS.PONG')); |
| 35 | + }, |
| 36 | + }, |
| 37 | + { |
| 38 | + name: 'ii', |
| 39 | + help: 'Bullies Ruka.', |
| 40 | + syntax: 'CMD', |
| 41 | + flags: { allowPMs: true }, |
| 42 | + rooms: ['boardgames'], |
| 43 | + perms: 'voice', |
| 44 | + categories: ['casual'], |
| 45 | + async run({ message }) { |
| 46 | + return message.reply("You don't have to tell me, I Audiino." as NoTranslate); |
| 47 | + }, |
| 48 | + }, |
| 49 | +]; |
0 commit comments