remove disableComponents function

This commit is contained in:
itsMapleLeaf
2022-04-23 03:47:50 -05:00
parent 6715756c2b
commit 7ef5a7ac9d
3 changed files with 0 additions and 26 deletions

View File

@@ -170,16 +170,6 @@ class TestMessage implements Message {
this.options = options
}
async disableComponents(): Promise<void> {
for (const row of this.options.actionRows) {
for (const action of row) {
if (action.type === "button") {
action.disabled = true
}
}
}
}
async delete(): Promise<void> {
this.container.remove(this)
}