Added minor docs.

[ci skip]
This commit is contained in:
Szymon Uglis 2020-07-02 17:24:59 +02:00
parent c33fc68dab
commit df19a08639
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ abstract class MessageChannel implements Channel, ISend, Disposable {
// Used to create infinite typing loop
Timer? _typing;
/// File upload limit for channel. If channel is [CachelessGuildChannel] returns default value.
/// File upload limit for channel in bytes. If channel is [CachelessGuildChannel] returns default value.
int get fileUploadLimit {
if (this is CacheGuildChannel) {
return (this as CacheGuildChannel).guild.fileUploadLimit;

View file

@ -109,7 +109,7 @@ class Guild extends SnowflakeEntity implements Disposable {
/// Returns member object for bot user
IMember? get selfMember => members[client.self.id];
/// Upload limit for this guild in bytes
/// File upload limit for channel in bytes.
int get fileUploadLimit {
const megabyte = 1024 * 1024;