started adding autojoinroles

This commit is contained in:
2024-03-04 01:18:48 +01:00
parent f11d3bc6c8
commit eb6a2dbc5c
5 changed files with 106 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ var form_command Command = Command{
for _, opt := range options.Options {
switch opt.Name {
case "type":
formID = options.Options[1].StringValue()
formID = opt.StringValue()
case "title":
overwriteTitle = opt.StringValue()
title = overwriteTitle