-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'guildScheduledEvents' into development
1 parent
43f67cc
commit ea1e458
Showing
2 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { GuildScheduledEvent } from "discord.js"; | ||
|
||
/** | ||
* Function to log scheduled guild events | ||
* @param event Object with all information about scheduled event | ||
* @returns {void} | ||
*/ | ||
export const logGuildEventCreated = async (event: GuildScheduledEvent) => { | ||
console.log(event); | ||
}; | ||
|
||
/** | ||
* Function to log scheduled guild events | ||
* @param event Object with all information about scheduled event | ||
* @returns {void} | ||
*/ | ||
export const logGuildEventDeleted = async (event: GuildScheduledEvent) => { | ||
console.log(event); | ||
}; | ||
|
||
/** | ||
* Function to log scheduled guild events | ||
* @param event Object with all information about scheduled event | ||
* @returns {void} | ||
*/ | ||
export const logGuildEventUpdated = async (event: GuildScheduledEvent) => { | ||
console.log(event); | ||
}; | ||
|
||
/** | ||
* Function to log scheduled guild events | ||
* @param event Object with all information about scheduled event | ||
* @returns {void} | ||
*/ | ||
export const logGuildEventUserAdd = async (event: GuildScheduledEvent) => { | ||
console.log(event); | ||
}; | ||
|
||
/** | ||
* Function to log scheduled guild events | ||
* @param event Object with all information about scheduled event | ||
* @returns {void} | ||
*/ | ||
export const logGuildEventUserRemove = async (event: GuildScheduledEvent) => { | ||
console.log(event); | ||
}; |