Skip to content

Commit

Permalink
Merge pull request #93 from he4rt/feat/command-suggest-introduction
Browse files Browse the repository at this point in the history
hot-fix: Include de new event into the commandRegister file
  • Loading branch information
SamucaDev authored Oct 25, 2023
2 parents ca19216 + f4f7759 commit dac3302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { useMedalAdd } from './medal/medal_add'
import { useWatch } from './watch/watch_set'
import { useWatchList } from './watch/watch_get'
import { useWatchRemove } from './watch/watch_remove'
import { useSuggestIntroduction } from './suggest_introduction'

const registerHooks = (client: He4rtClient, commands: Command[]) => {
commands.forEach(([data, cb]) => {
Expand Down Expand Up @@ -90,7 +91,7 @@ export const registerCommands = async ({ client, rest }: Context) => {
useWatch(),
useWatchList(),
useWatchRemove(),
// useReputation()
useSuggestIntroduction()
])

await rest.put(Routes.applicationGuildCommands(process.env.DISCORD_CLIENT_ID, process.env.DISCORD_GUILD_ID), {
Expand Down

0 comments on commit dac3302

Please sign in to comment.