Réécriture complète 4.0
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
This commit is contained in:
26
src/buttons/index.ts
Normal file
26
src/buttons/index.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import freebox from "./freebox"
|
||||
import player from "./player"
|
||||
import twitch from "./twitch"
|
||||
|
||||
import type { Button, ButtonFolder } from "@/types"
|
||||
|
||||
export const buttonFolders = [
|
||||
{
|
||||
name: "freebox",
|
||||
commands: freebox
|
||||
},
|
||||
{
|
||||
name: "player",
|
||||
commands: player
|
||||
},
|
||||
{
|
||||
name: "twitch",
|
||||
commands: twitch
|
||||
}
|
||||
] as ButtonFolder[]
|
||||
|
||||
export default [
|
||||
...freebox,
|
||||
...player,
|
||||
...twitch
|
||||
] as Button[]
|
||||
Reference in New Issue
Block a user