diff --git a/discord/snowflake.go b/discord/snowflake.go index 9616e4e..7ac8674 100644 --- a/discord/snowflake.go +++ b/discord/snowflake.go @@ -61,6 +61,10 @@ func (s Snowflake) MarshalJSON() ([]byte, error) { } func (s Snowflake) String() string { + if s == NullSnowflake { + return "" + } + return strconv.FormatUint(uint64(s), 10) }