Skip to content

Commit

Permalink
Update bot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Aug 17, 2024
1 parent 7678801 commit ef90f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ client.on("messageCreate", (message) => {
});
}
if (message.content == "file") {
const file = new File().setName("file.txt").setStream("hello world!");
const file = new FileUpload().setName("file.txt").setStream("hello world!");
message.channel.send("", {
files: [file],
});
Expand Down

0 comments on commit ef90f08

Please sign in to comment.