remove old-src, same some historic pieces

This commit is contained in:
41666 2022-01-30 03:34:41 -05:00
parent 8e21d2e5cc
commit 33df1c7edc
31 changed files with 221 additions and 1414 deletions

View file

@ -0,0 +1,16 @@
import {
InteractionCallbackType,
InteractionRequestCommand,
InteractionResponse,
} from '@roleypoly/types';
export const helloWorld = async (
interaction: InteractionRequestCommand
): Promise<InteractionResponse> => {
return {
type: InteractionCallbackType.CHANNEL_MESSAGE_WITH_SOURCE,
data: {
content: `Hey there, ${interaction.member?.nick || interaction.user?.username}`,
},
};
};