Added minor docs.
[ci skip]
This commit is contained in:
parent
c33fc68dab
commit
df19a08639
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue