mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
GuildSavedMessages: remove guild_id override
This commit is contained in:
parent
07b9ca843b
commit
68fa25fbc4
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export class GuildSavedMessages extends BaseRepository {
|
||||||
|
|
||||||
async create(data) {
|
async create(data) {
|
||||||
try {
|
try {
|
||||||
await this.messages.insert({ ...data, guild_id: this.guildId });
|
await this.messages.insert(data);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue