No need to async when returning promise

49f411b9faad46832184e77f7f5c68c29c9d857d

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/script.js+1 -1
@@ -9181,7 +9181,7 @@ jQuery(async function () {
9181 }));9181 }));
9182 SlashCommandParser.addCommandObject(SlashCommand.fromProps({9182 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
9183 name: 'tempchat',9183 name: 'tempchat',
9184 callback: async () => {9184 callback: () => {
9185 return new Promise((resolve, reject) => {9185 return new Promise((resolve, reject) => {
9186 const eventCallback = async (chatId) => {9186 const eventCallback = async (chatId) => {
9187 if (chatId) {9187 if (chatId) {